Changeset 53947 for trunk/.github/workflows/phpunit-tests.yml
- Timestamp:
- 08/26/2022 07:19:11 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/phpunit-tests.yml
r53940 r53947 247 247 SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }} 248 248 SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }} 249 250 failed-workflow: 251 name: Failed workflow tasks 252 runs-on: ubuntu-latest 253 needs: [ test-php, slack-notifications ] 254 if: | 255 always() && 256 github.repository == 'WordPress/wordpress-develop' && 257 github.event_name != 'pull_request' && 258 github.run_number < 2 && 259 ( 260 needs.test-php.result == 'cancelled' || needs.test-php.result == 'failure' 261 ) 262 263 steps: 264 - name: Dispatch workflow run 265 uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0 266 with: 267 github-token: ${{ secrets.GHA_WORKFLOW_DISPATCH }} 268 script: | 269 github.rest.actions.createWorkflowDispatch({ 270 owner: context.repo.owner, 271 repo: context.repo.repo, 272 workflow_id: 'failed-workflow.yml', 273 ref: '${{ github.ref_name }}', 274 inputs: { 275 run_id: '${{ github.run_id }}' 276 } 277 });
Note: See TracChangeset
for help on using the changeset viewer.