Changeset 56539
- Timestamp:
- 09/07/2023 05:12:02 PM (17 months ago)
- Location:
- branches/6.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.3
-
branches/6.3/.github/workflows/end-to-end-tests.yml
r56198 r56539 127 127 - name: Ensure version-controlled files are not modified or deleted 128 128 run: git diff --exit-code 129 130 failed-workflow: 131 name: Failed workflow tasks 132 runs-on: ubuntu-latest 133 permissions: 134 actions: write 135 needs: [ e2e-tests ] 136 if: | 137 always() && 138 github.repository == 'WordPress/wordpress-develop' && 139 github.event_name != 'pull_request' && 140 github.run_attempt < 2 && 141 ( 142 needs.e2e-tests.result == 'cancelled' || needs.e2e-tests.result == 'failure' 143 ) 144 steps: 145 - name: Dispatch workflow run 146 uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0 147 with: 148 retries: 2 149 retry-exempt-status-codes: 418 150 script: | 151 github.rest.actions.createWorkflowDispatch({ 152 owner: context.repo.owner, 153 repo: context.repo.repo, 154 workflow_id: 'failed-workflow.yml', 155 ref: 'trunk', 156 inputs: { 157 run_id: '${{ github.run_id }}' 158 } 159 });
Note: See TracChangeset
for help on using the changeset viewer.