Changeset 55532 for branches/4.4/.github/workflows/coding-standards.yml
- Timestamp:
- 03/10/2023 04:30:36 PM (19 months ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
- Property svn:mergeinfo changed
/trunk merged: 53736-53737,53940,53947,54039,54096,54108,54293,54313,54342-54343,54373,54511,54650-54651,54674,54750,54852,55152,55487
- Property svn:mergeinfo changed
-
branches/4.4/.github/workflows/coding-standards.yml
r53617 r55532 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. … … 50 51 # - Installs NodeJS. 51 52 # - Logs updated debug information. 52 # _ Installs NPMdependencies.53 # _ Installs npm dependencies. 53 54 # - Run the WordPress JSHint checks. 54 55 jshint: … … 62 63 steps: 63 64 - name: Checkout repository 64 uses: actions/checkout@ 2541b1294d2704b0964813337f33b291d3f8596b # v3.0.265 uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 65 66 66 67 - name: Log debug information … … 71 72 svn --version 72 73 73 - name: Install NodeJS74 uses: actions/setup-node@ eeb10cff27034e7acf239c5d29f62154018672fd # v3.3.074 - name: Set up Node.js 75 uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 75 76 with: 76 77 node-version-file: '.nvmrc' … … 100 101 SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }} 101 102 SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }} 103 104 failed-workflow: 105 name: Failed workflow tasks 106 runs-on: ubuntu-latest 107 needs: [ jshint, slack-notifications ] 108 if: | 109 always() && 110 github.repository == 'WordPress/wordpress-develop' && 111 github.event_name != 'pull_request' && 112 github.run_attempt < 2 && 113 ( 114 needs.jshint.result == 'cancelled' || needs.jshint.result == 'failure' 115 ) 116 117 steps: 118 - name: Dispatch workflow run 119 uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0 120 with: 121 retries: 2 122 retry-exempt-status-codes: 418 123 script: | 124 github.rest.actions.createWorkflowDispatch({ 125 owner: context.repo.owner, 126 repo: context.repo.repo, 127 workflow_id: 'failed-workflow.yml', 128 ref: 'trunk', 129 inputs: { 130 run_id: '${{ github.run_id }}' 131 } 132 });
Note: See TracChangeset
for help on using the changeset viewer.