Skip to content

Commit

Permalink
only notify on ci to master
Browse files Browse the repository at this point in the history
  • Loading branch information
sdankel committed Mar 6, 2024
1 parent 01d8ea3 commit 1b8dba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
- run: nix develop --print-build-logs --no-update-lock-file .#book-dev --command mdbook build book

notify-slack-on-failure:
if: failure()
if: failure() && github.ref == 'refs/heads/master'
needs:
[
nix-fmt-check,
Expand Down

0 comments on commit 1b8dba9

Please sign in to comment.