We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c83077 commit a030930Copy full SHA for a030930
1 file changed
.github/workflows/ci-failure-notifier.yml
@@ -12,13 +12,12 @@ permissions:
12
13
jobs:
14
notify-ci-failure:
15
- # Only act when CI failed and was triggered by a pull_request event
16
- if: >
17
- github.event.workflow_run.conclusion == 'failure' &&
18
- github.event.workflow_run.event == 'pull_request'
+ # Act when CI completes and was triggered by a pull_request event
+ if: github.event.workflow_run.event == 'pull_request'
19
runs-on: ubuntu-latest
20
steps:
21
- name: Add label and comment on failing PR
+ if: github.event.workflow_run.conclusion == 'failure'
22
uses: actions/github-script@v7
23
with:
24
script: |
0 commit comments