File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 2626 required : false
2727 type : ' boolean'
2828 default : false
29+ check-gutenberg-functions :
30+ description : ' Whether to check for the presence of functions prefixed with gutenberg_.'
31+ required : false
32+ type : boolean
33+ default : false
2934 save-build :
3035 description : ' Whether to save a ZIP of built WordPress as an artifact.'
3136 required : false
@@ -109,7 +114,8 @@ jobs:
109114 run : npm ci
110115
111116 - name : Check for PHP functions with the gutenberg_ prefix
112- run : npm run grunt prevent-gutenberg-functions || true
117+ if : ${{ inputs.check-gutenberg-functions }}
118+ run : npm run grunt prevent-gutenberg-functions
113119
114120 - name : Run Emoji precommit task
115121 if : ${{ inputs.test-emoji }}
Original file line number Diff line number Diff line change 6060 os : [ 'ubuntu-24.04' ]
6161 directory : [ 'src', 'build' ]
6262 test-certificates : [ true ]
63+ check-gutenberg-functions : [ true ]
6364 include :
6465 # Only prepare artifacts for Playground once.
6566 - os : ' ubuntu-24.04'
You can’t perform that action at this time.
0 commit comments