File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 48
48
name : ci-next-${{ inputs.version }}${{ matrix.base-path && '-basePath' || ''}}${{ matrix.react-compiler && '-react-compiler' || ''}}
49
49
- uses : 47ng/actions-slack-notify@main
50
50
name : Notify on Slack
51
- if : always ()
51
+ if : failure ()
52
52
with :
53
53
status : ${{ job.status }}
54
54
jobName : next@${{ inputs.version }}${{ matrix.base-path && ' basePath' || ''}}${{ matrix.react-compiler && ' ⚛️⚡️' || ''}}
63
63
steps :
64
64
- name : Invalidate ISR cache for GitHub Actions status on landing page
65
65
run : curl -s "https://nuqs.47ng.com/api/isr?tag=github-actions-status&token=${{ secrets.ISR_TOKEN }}"
66
+
67
+ notify :
68
+ name : Notify on Slack
69
+ runs-on : ubuntu-22.04-arm
70
+ needs :
71
+ - test_against_nextjs_release
72
+ steps :
73
+ - uses : 47ng/actions-slack-notify@main
74
+ with :
75
+ status : ${{ job.status }}
76
+ jobName : Test against Next.js ${{ inputs.version }}
77
+ env :
78
+ SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
You can’t perform that action at this time.
0 commit comments