Slack notification is triggered on failures not on success
@@ -171,7 +171,7 @@ jobs:
if: "${{ success() && ((env.TASK == 'ci-unit') || (env.TASK == 'ci-integration')) && (env.ENABLE_COVERAGE == 'yes') }}"
run: |
./scripts/travis/submit-codecov-coverage.sh
- - name: CI Run Success Slack Notification
+ - name: CI Run Failure Slack Notification
if: ${{ failure() && github.ref == 'refs/head/master'
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
