@@ -21,6 +21,25 @@ concurrency:
2121 cancel-in-progress : true
2222
2323jobs :
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+
2443 # #################################################################################
2544 # Verify the release is available in all the right places and works as expected. #
2645 # #################################################################################
@@ -129,9 +148,9 @@ jobs:
129148 if : ${{ steps.asset_version.outputs.VERSION != steps.version.outputs.TAG }}
130149 run : exit 1
131150
132- # ############# ############################
133- # Verify install via PHIVE.
134- # ############# ############################
151+ # ############################
152+ # Verify install via PHIVE. #
153+ # ############################
135154 verify-phive :
136155 runs-on : ubuntu-latest
137156
0 commit comments