Skip to content

Commit c49aa56

Browse files
chore: update slack notification color
1 parent dd2cc80 commit c49aa56

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
steps:
4040
- uses: rtCamp/action-slack-notify@v2
4141
env:
42-
SLACK_COLOR: 'danger'
42+
SLACK_COLOR: failure
4343
SLACK_ICON_EMOJI: ':github:'
4444
SLACK_MESSAGE: ${{ format('Failed to release {1}{3} {0}/{1}/actions/runs/{2}', github.server_url, github.repository, github.run_id, ':') }}
4545
SLACK_TITLE: Release Failure

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
steps:
3232
- uses: rtCamp/action-slack-notify@v2
3333
env:
34-
SLACK_COLOR: ${{ needs.test.status }}
34+
SLACK_COLOR: failure
3535
SLACK_ICON_EMOJI: ':github:'
3636
SLACK_MESSAGE: ${{ format('Build {2} in {1} failed{3} {0}/{1}/actions/runs/{2}', github.server_url, github.repository, github.run_id, ':') }}
3737
SLACK_TITLE: Build Failure

0 commit comments

Comments
 (0)