Skip to content

Commit d2733ff

Browse files
committed
add slack ci notification
1 parent 235926b commit d2733ff

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install clojure tools
1919
uses: DeLaGuardo/setup-clojure@13.4
2020
with:
21-
cli: 1.12.1.1561
21+
cli: 1.12.2.1565
2222

2323
- name: Cache clojure dependencies
2424
uses: actions/cache@v4
@@ -39,3 +39,12 @@ jobs:
3939
with:
4040
report_paths: 'reports/junit.xml'
4141
include_time_in_summary: true
42+
43+
- name: Notify Slack on Failure
44+
if: failure()
45+
uses: 8398a7/action-slack@v3
46+
with:
47+
status: ${{ job.status }}
48+
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
49+
env:
50+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)