Skip to content

Commit 1328597

Browse files
authored
Add Slack notification for Github Action failures (#228)
1 parent f22e50d commit 1328597

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/lint-test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,13 @@ jobs:
5050

5151
- name: Run tests
5252
run: bundle exec rspec spec
53-
53+
54+
notify_on_failure:
55+
if: failure()
56+
needs: [lint, test]
57+
uses: tulibraries/.github/.github/workflows/slack-notify.yml@main
58+
with:
59+
repo: ${{ github.repository }}
60+
run_id: ${{ github.run_id }}
61+
workflow: ${{ github.workflow }}
62+
secrets: inherit

0 commit comments

Comments
 (0)