File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ Fixes #
4040- [ ] I have added tests to cover my changes.
4141- [ ] I have verified that the code complies with the projects coding standards.
4242- [ ] \[ Required for new sniffs\] I have added XML documentation for the sniff.
43+ - [ ] I have opened a sister-PR in the [ documentation repository] ( https://github.com/PHPCSStandards/PHP_CodeSniffer-documentation ) to update the Wiki.
4344
4445<!--
4546============================================================================================
Original file line number Diff line number Diff line change 4040 repository : PHPCSStandards/schema.phpcodesniffer.com
4141 event-type : phpcs-release
4242
43+ # ######################################################
44+ # Trigger an update of the documentation in the Wiki. #
45+ # ######################################################
46+ trigger-wiki-update :
47+ runs-on : ubuntu-latest
48+
49+ # Only run this workflow in the context of this repo.
50+ if : github.repository_owner == 'PHPCSStandards'
51+
52+ name : " Trigger update of wiki"
53+
54+ steps :
55+ - name : Trigger wiki update
56+ uses : peter-evans/repository-dispatch@v3
57+ with :
58+ token : ${{ secrets.WORKFLOW_DISPATCH_DOCS_PAT }}
59+ repository : PHPCSStandards/PHP_CodeSniffer-documentation
60+ event-type : phpcs-release
61+
4362 # #################################################################################
4463 # Verify the release is available in all the right places and works as expected. #
4564 # #################################################################################
You can’t perform that action at this time.
0 commit comments