Skip to content

Commit b482638

Browse files
author
iru
authored
Update ci-scheduled-tests.yml (#246)
1 parent 61909e0 commit b482638

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/ci-scheduled-tests.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,21 @@ jobs:
4949
uses: rtCamp/action-slack-notify@v2
5050
env:
5151
SLACK_CHANNEL: ws-cloudnative-alerts
52-
SLACK_ICON: https://github.com/fluidicon.png
52+
SLACK_ICON: ':bell:'
53+
SLACK_COLOR: '#ff0000'
5354
SLACK_MESSAGE: 'Terraform Provider'
54-
SLACK_TITLE: Regression Test Failed
55+
SLACK_TITLE: 'Regression Test Failed, please take a look if you are a codeowner'
5556
SLACK_USERNAME: terraform-provider-sysdig
5657
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
5758
MSG_MINIMAL: true
59+
# https://github.com/8398a7/action-slack/blob/master/docs/content/usage/with.md
5860
- uses: 8398a7/action-slack@v3
5961
with:
60-
status: ${{ job.status }}
61-
fields: repo,message,action,workflow,job,took
62+
status: 'Failure'
63+
channel: ' #ws-cloudnative-alerts'
64+
author_name: github-action
65+
title: 'Terraform Provider'
66+
text: 'Regression Test Failed, please take a look if you are a codeowner'
67+
fields: repo,workflow
6268
env:
6369
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)