Skip to content

Commit 78a8cb0

Browse files
committed
fix: minimal failbot message
1 parent cf57405 commit 78a8cb0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/go.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ jobs:
391391
working-directory: ./pkgs/npm
392392
env:
393393
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
394+
394395
on-failure:
395396
runs-on: ubuntu-latest
396397
if: failure() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
@@ -400,6 +401,8 @@ jobs:
400401
uses: rtCamp/action-slack-notify@v2
401402
env:
402403
MSG_MINIMAL: actions url
403-
SLACK_COLOR: error
404+
SLACK_COLOR: failure
405+
SLACK_FOOTER: ""
406+
SLACK_MESSAGE: ""
404407
SLACK_TITLE: Defang CLI workflow failed
405408
SLACK_WEBHOOK: ${{ secrets.SLACK_NOTIFIER_WEBHOOK_URL }}

0 commit comments

Comments
 (0)