Temporarily disable Slack notification on failure

This commit is contained in:
M. Mert Yildiran 2022-03-04 20:24:19 +03:00
parent bad7706c9b
commit cad1901ea4
No known key found for this signature in database
GPG Key ID: D42ADB236521BF7A

View File

@ -38,14 +38,14 @@ jobs:
- name: Test
run: make acceptance-test
- name: Slack notification on failure
uses: ravsamhq/notify-slack-action@v1
if: always()
with:
status: ${{ job.status }}
notification_title: 'Mizu {workflow} has {status_message}'
message_format: '{emoji} *{workflow}* {status_message} during <{run_url}|run>, after commit: <{commit_url}|{commit_sha}>'
footer: 'Linked Repo <{repo_url}|{repo}>'
notify_when: 'failure'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
# - name: Slack notification on failure
# uses: ravsamhq/notify-slack-action@v1
# if: always()
# with:
# status: ${{ job.status }}
# notification_title: 'Mizu {workflow} has {status_message}'
# message_format: '{emoji} *{workflow}* {status_message} during <{run_url}|run>, after commit: <{commit_url}|{commit_sha}>'
# footer: 'Linked Repo <{repo_url}|{repo}>'
# notify_when: 'failure'
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}