@@ -21,6 +21,25 @@ concurrency:
21
21
cancel-in-progress : true
22
22
23
23
jobs :
24
+ # ##############################################################
25
+ # Trigger an update of the schema.phpcodesniffer.com website. #
26
+ # ##############################################################
27
+ trigger-schema-site-update :
28
+ runs-on : ubuntu-latest
29
+
30
+ # Only run this workflow in the context of this repo.
31
+ if : github.repository_owner == 'PHPCSStandards'
32
+
33
+ name : " Trigger update of schema website"
34
+
35
+ steps :
36
+ - name : Trigger schema website update
37
+ uses : peter-evans/repository-dispatch@v3
38
+ with :
39
+ token : ${{ secrets.WORKFLOW_DISPATCH_PAT }}
40
+ repository : PHPCSStandards/schema.phpcodesniffer.com
41
+ event-type : phpcs-release
42
+
24
43
# #################################################################################
25
44
# Verify the release is available in all the right places and works as expected. #
26
45
# #################################################################################
@@ -129,9 +148,9 @@ jobs:
129
148
if : ${{ steps.asset_version.outputs.VERSION != steps.version.outputs.TAG }}
130
149
run : exit 1
131
150
132
- # ############# ############################
133
- # Verify install via PHIVE.
134
- # ############# ############################
151
+ # ############################
152
+ # Verify install via PHIVE. #
153
+ # ############################
135
154
verify-phive :
136
155
runs-on : ubuntu-latest
137
156
0 commit comments