Skip to content

Commit

Permalink
fix: Don't try to generate PR comments for cancelled workflow runs (m…
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert authored Jun 19, 2024
1 parent c7f654b commit c97a7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
if: |
github.event.workflow_run.event == 'pull_request' &&
(github.event.workflow_run.name != 'CI' || github.event.workflow_run.conclusion == 'success' )
(github.event.workflow_run.conclusion == 'success' || github.event.workflow_run.conclusion == 'failure')
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: ./.github/actions/pr-comment
Expand Down

0 comments on commit c97a7fc

Please sign in to comment.