Skip to content

Commit 45b756e

Browse files
authored
Merge branch 'next' into next
2 parents 5c485e7 + b764322 commit 45b756e

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/test-against-nextjs-release.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
name: ci-next-${{ inputs.version }}${{ matrix.base-path && '-basePath' || ''}}${{ matrix.react-compiler && '-react-compiler' || ''}}
4949
- uses: 47ng/actions-slack-notify@main
5050
name: Notify on Slack
51-
if: always()
51+
if: failure()
5252
with:
5353
status: ${{ job.status }}
5454
jobName: next@${{ inputs.version }}${{ matrix.base-path && ' basePath' || ''}}${{ matrix.react-compiler && ' ⚛️⚡️' || ''}}
@@ -63,3 +63,16 @@ jobs:
6363
steps:
6464
- name: Invalidate ISR cache for GitHub Actions status on landing page
6565
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 }}

0 commit comments

Comments
 (0)