Skip to content

Commit

Permalink
Don't notify Slack if main fails due to workflow cancellation
Browse files Browse the repository at this point in the history
  • Loading branch information
amcaplan committed Nov 24, 2024
1 parent 734c259 commit ebadc00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/shopify-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
run: pnpm nx run features:test
- name: Send Slack notification on failure
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # pin@v1.23.0
if: failure()
if: ${{ failure() && !cancelled() }}
with:
payload: |
{
Expand Down

0 comments on commit ebadc00

Please sign in to comment.