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 #
40
40
- [ ] I have added tests to cover my changes.
41
41
- [ ] I have verified that the code complies with the projects coding standards.
42
42
- [ ] \[ 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.
43
44
44
45
<!--
45
46
============================================================================================
Original file line number Diff line number Diff line change 40
40
repository : PHPCSStandards/schema.phpcodesniffer.com
41
41
event-type : phpcs-release
42
42
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
+
43
62
# #################################################################################
44
63
# Verify the release is available in all the right places and works as expected. #
45
64
# #################################################################################
You can’t perform that action at this time.
0 commit comments