diff --git a/.github/workflows/actions-run-watcher.yml b/.github/workflows/actions-run-watcher.yml index c89a28a78..b57290c98 100644 --- a/.github/workflows/actions-run-watcher.yml +++ b/.github/workflows/actions-run-watcher.yml @@ -26,10 +26,11 @@ jobs: timeout-minutes: 10 steps: - name: Record non-incident completion + # action_required is bot approval / ruleset wait, not a compile failure. + # cancelled is already excluded: only failure and timed_out open incidents. if: >- github.event.workflow_run.conclusion != 'failure' && - github.event.workflow_run.conclusion != 'timed_out' && - github.event.workflow_run.conclusion != 'action_required' + github.event.workflow_run.conclusion != 'timed_out' env: RUN_ID: ${{ github.event.workflow_run.id }} CONCLUSION: ${{ github.event.workflow_run.conclusion }} @@ -41,8 +42,7 @@ jobs: - name: Create or update incident notification if: >- github.event.workflow_run.conclusion == 'failure' || - github.event.workflow_run.conclusion == 'timed_out' || - github.event.workflow_run.conclusion == 'action_required' + github.event.workflow_run.conclusion == 'timed_out' env: GH_TOKEN: ${{ github.token }} RUN_ID: ${{ github.event.workflow_run.id }} @@ -85,8 +85,7 @@ jobs: - name: Emit structured incident receipt if: >- github.event.workflow_run.conclusion == 'failure' || - github.event.workflow_run.conclusion == 'timed_out' || - github.event.workflow_run.conclusion == 'action_required' + github.event.workflow_run.conclusion == 'timed_out' env: RUN_ID: ${{ github.event.workflow_run.id }} CONCLUSION: ${{ github.event.workflow_run.conclusion }}