Skip to content

Commit

Permalink
fix if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
DaughterOfMars committed Nov 12, 2024
1 parent 2e4929c commit 0f7828f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/develop_ci_slack_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ on:
jobs:
on-failure:
runs-on: ubuntu-latest
if: failure()
if: |
!(github.event.workflow_run.conclusion == 'success' ||
github.event.workflow_run.conclusion == 'skipped' ||
github.event.workflow_run.conclusion == 'cancelled')
steps:
- uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # pin@v2
with:
Expand Down

0 comments on commit 0f7828f

Please sign in to comment.