Changeset 55517 for branches/5.8/.github/workflows/coding-standards.yml
- Timestamp:
- 03/10/2023 04:07:11 PM (3 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
.github/workflows/coding-standards.yml (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
- Property svn:mergeinfo changed
/trunk merged: 53736-53737,53940,53947,54039,54096,54108,54293,54313,54342-54343,54373,54511,54649-54651,54674,54750,54852,55152,55487
- Property svn:mergeinfo changed
-
branches/5.8/.github/workflows/coding-standards.yml
r53597 r55517 10 10 - '[4-9].[0-9]' 11 11 tags: 12 - '3.[89]*' 13 - '[4-9].[0-9]*' 12 - '[0-9]+.[0-9]' 13 - '[0-9]+.[0-9].[0-9]+' 14 - '!3.7.[0-9]+' 14 15 pull_request: 15 16 branches: … … 21 22 - '**.js' 22 23 - '**.php' 23 # These files configure NPM. Changes could affect the outcome.24 # These files configure npm. Changes could affect the outcome. 24 25 - 'package*.json' 25 26 # These files configure Composer. Changes could affect the outcome. … … 64 65 steps: 65 66 - name: Checkout repository 66 uses: actions/checkout@ 2541b1294d2704b0964813337f33b291d3f8596b # v3.0.267 uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 67 68 68 69 - name: Set up PHP 69 uses: shivammathur/setup-php@ 3eda58347216592f618bb1dff277810b6698e4ca # v2.19.170 uses: shivammathur/setup-php@d30ad8b1843ace22e6698ab99bbafaa747b6bd0d # v2.24.0 70 71 with: 71 72 php-version: '7.4' … … 79 80 80 81 - name: Install Composer dependencies 81 uses: ramsey/composer-install@ f680dac46551dffb2234a240d65ae806c2999dd6 # v2.1.082 uses: ramsey/composer-install@83af392bf5f031813d25e6fe4cd626cdba9a2df6 # v2.2.0 82 83 with: 83 composer-options: "--no-progress --no-ansi --no-interaction"84 composer-options: "--no-progress --no-ansi" 84 85 85 86 - name: Make Composer packages available globally … … 105 106 # - Checks out the repository. 106 107 # - Logs debug information about the GitHub Action runner. 107 # - Installs NodeJS. 108 # - Sets up caching for NPM. 108 # - Installs Node.js. 109 109 # - Logs updated debug information. 110 # _ Installs NPMdependencies.110 # _ Installs npm dependencies. 111 111 # - Run the WordPress JSHint checks. 112 112 # - Ensures version-controlled files are not modified or deleted. … … 121 121 steps: 122 122 - name: Checkout repository 123 uses: actions/checkout@ 2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2123 uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 124 124 125 125 - name: Log debug information … … 130 130 svn --version 131 131 132 - name: Install Node JS133 uses: actions/setup-node@ eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.0132 - name: Install Node.js 133 uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 134 134 with: 135 135 node-version-file: '.nvmrc' … … 162 162 SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }} 163 163 SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }} 164 165 failed-workflow: 166 name: Failed workflow tasks 167 runs-on: ubuntu-latest 168 needs: [ phpcs, jshint, slack-notifications ] 169 if: | 170 always() && 171 github.repository == 'WordPress/wordpress-develop' && 172 github.event_name != 'pull_request' && 173 github.run_attempt < 2 && 174 ( 175 needs.phpcs.result == 'cancelled' || needs.phpcs.result == 'failure' || 176 needs.jshint.result == 'cancelled' || needs.jshint.result == 'failure' 177 ) 178 179 steps: 180 - name: Dispatch workflow run 181 uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0 182 with: 183 retries: 2 184 retry-exempt-status-codes: 418 185 script: | 186 github.rest.actions.createWorkflowDispatch({ 187 owner: context.repo.owner, 188 repo: context.repo.repo, 189 workflow_id: 'failed-workflow.yml', 190 ref: 'trunk', 191 inputs: { 192 run_id: '${{ github.run_id }}' 193 } 194 });
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)