We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a012d82 commit dd39b3eCopy full SHA for dd39b3e
.github/workflows/slack-notify.yml
@@ -12,11 +12,13 @@ jobs:
12
runs-on: ubuntu-latest
13
steps:
14
- name: Slack Notify on Failure
15
- if: ${{ failure() || success() }}
+ if: ${{ success() }}
16
id: slack
17
uses: slackapi/slack-github-action@v1.24.0
18
with:
19
+ channel-id: 'cicd'
20
slack-message: "Github CI result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
21
env:
- SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
22
- SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
+ SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
23
+ # SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
24
+ # SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
0 commit comments