Changeset 53947 for trunk/.github/workflows/coding-standards.yml
- Timestamp:
- 08/26/2022 07:19:11 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/coding-standards.yml
r53940 r53947 174 174 SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }} 175 175 SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }} 176 177 failed-workflow: 178 name: Failed workflow tasks 179 runs-on: ubuntu-latest 180 needs: [ phpcs, jshint, slack-notifications ] 181 if: | 182 always() && 183 github.repository == 'WordPress/wordpress-develop' && 184 github.event_name != 'pull_request' && 185 github.run_number < 2 && 186 ( 187 needs.phpcs.result == 'cancelled' || needs.phpcs.result == 'failure' || 188 needs.jshint.result == 'cancelled' || needs.jshint.result == 'failure' 189 ) 190 191 steps: 192 - name: Dispatch workflow run 193 uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0 194 with: 195 github-token: ${{ secrets.GHA_WORKFLOW_DISPATCH }} 196 script: | 197 github.rest.actions.createWorkflowDispatch({ 198 owner: context.repo.owner, 199 repo: context.repo.repo, 200 workflow_id: 'failed-workflow.yml', 201 ref: '${{ github.ref_name }}', 202 inputs: { 203 run_id: '${{ github.run_id }}' 204 } 205 });
Note: See TracChangeset
for help on using the changeset viewer.