Skip to content

Commit

Permalink
Merge pull request #1063 from sablier-labs/ci/fix-slack-notify
Browse files Browse the repository at this point in the history
ci: fix slack notify
  • Loading branch information
PaulRBerg authored Oct 13, 2024
2 parents c3fa793 + b137111 commit c6e056a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-deep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ jobs:
name: "Fork tests"

notify-on-failure:
if: always()
if: failure()
needs: ["lint", "build", "test-unit", "test-integration", "test-invariant", "test-fork"]
runs-on: "ubuntu-latest"
steps:
- name: "Send Slack notification"
if: failure() # Runs only if a failure occurs in any previous job
uses: "rtCamp/action-slack-notify@v2"
env:
SLACK_CHANNEL: "#ci-notifications"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
name: "Utils tests"

notify-on-failure:
if: always()
if: failure()
needs: ["lint", "build", "test-fork", "test-utils"]
runs-on: "ubuntu-latest"
steps:
- name: "Send Slack notification"
if: failure() # Runs only if a failure occurs in any previous job
uses: "rtCamp/action-slack-notify@v2"
env:
SLACK_CHANNEL: "#ci-notifications"
Expand Down

0 comments on commit c6e056a

Please sign in to comment.