Changeset 53947 for trunk/.github/workflows/test-coverage.yml
- Timestamp:
- 08/26/2022 07:19:11 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/test-coverage.yml
r53940 r53947 194 194 SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }} 195 195 SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }} 196 197 failed-workflow: 198 name: Failed workflow tasks 199 runs-on: ubuntu-latest 200 needs: [ test-coverage-report, slack-notifications ] 201 if: | 202 always() && 203 github.repository == 'WordPress/wordpress-develop' && 204 github.event_name != 'pull_request' && 205 github.run_number < 2 && 206 ( 207 needs.test-coverage-report.result == 'cancelled' || needs.test-coverage-report.result == 'failure' 208 ) 209 210 steps: 211 - name: Dispatch workflow run 212 uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0 213 with: 214 github-token: ${{ secrets.GHA_WORKFLOW_DISPATCH }} 215 script: | 216 github.rest.actions.createWorkflowDispatch({ 217 owner: context.repo.owner, 218 repo: context.repo.repo, 219 workflow_id: 'failed-workflow.yml', 220 ref: '${{ github.ref_name }}', 221 inputs: { 222 run_id: '${{ github.run_id }}' 223 } 224 });
Note: See TracChangeset
for help on using the changeset viewer.