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