@@ -30,6 +30,12 @@ concurrency:
3030permissions : {}
3131
3232env :
33+ # Performance testing should be performed in an environment reflecting a standard production environment.
34+ WP_DEBUG : false
35+ SCRIPT_DEBUG : false
36+ SAVEQUERIES : false
37+ WP_DEVELOPMENT_MODE : ' '
38+
3339 # This workflow takes two sets of measurements — one for the current commit,
3440 # and another against a consistent version that is used as a baseline measurement.
3541 # This is done to isolate variance in measurements caused by the GitHub runners
8187 echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV
8288
8389 - name : Checkout repository
84- uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
90+ uses : actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
8591
8692 - name : Set up Node.js
8793 uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
@@ -162,7 +168,7 @@ jobs:
162168 - name : Set the base sha
163169 # Only needed when publishing results.
164170 if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/trunk' }}
165- uses : actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
171+ uses : actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
166172 id : base-sha
167173 with :
168174 github-token : ${{ secrets.GITHUB_TOKEN }}
@@ -173,7 +179,7 @@ jobs:
173179 - name : Set commit details
174180 # Only needed when publishing results.
175181 if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/trunk' }}
176- uses : actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
182+ uses : actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
177183 id : commit-timestamp
178184 with :
179185 github-token : ${{ secrets.GITHUB_TOKEN }}
@@ -215,7 +221,7 @@ jobs:
215221 runs-on : ubuntu-latest
216222 permissions :
217223 actions : write
218- needs : [ performance, slack-notifications ]
224+ needs : [ slack-notifications ]
219225 if : |
220226 always() &&
221227 github.repository == 'WordPress/wordpress-develop' &&
@@ -227,7 +233,7 @@ jobs:
227233
228234 steps :
229235 - name : Dispatch workflow run
230- uses : actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
236+ uses : actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
231237 with :
232238 retries : 2
233239 retry-exempt-status-codes : 418
0 commit comments