Changeset 53947 for trunk/.github/workflows/php-compatibility.yml
- Timestamp:
- 08/26/2022 07:19:11 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/php-compatibility.yml
r53940 r53947 115 115 SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }} 116 116 SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }} 117 118 failed-workflow: 119 name: Failed workflow tasks 120 runs-on: ubuntu-latest 121 needs: [ php-compatibility, slack-notifications ] 122 if: | 123 always() && 124 github.repository == 'WordPress/wordpress-develop' && 125 github.event_name != 'pull_request' && 126 github.run_number < 2 && 127 ( 128 needs.php-compatibility.result == 'cancelled' || needs.php-compatibility.result == 'failure' 129 ) 130 131 steps: 132 - name: Dispatch workflow run 133 uses: actions/github-script@c713e510dbd7d213d92d41b7a7805a986f4c5c66 # v6.2.0 134 with: 135 github-token: ${{ secrets.GHA_WORKFLOW_DISPATCH }} 136 script: | 137 github.rest.actions.createWorkflowDispatch({ 138 owner: context.repo.owner, 139 repo: context.repo.repo, 140 workflow_id: 'failed-workflow.yml', 141 ref: '${{ github.ref_name }}', 142 inputs: { 143 run_id: '${{ github.run_id }}' 144 } 145 });
Note: See TracChangeset
for help on using the changeset viewer.