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 4e1f39b commit 40af094Copy full SHA for 40af094
.github/workflows/notify-on-push.yml
@@ -36,11 +36,12 @@ jobs:
36
with:
37
persist-credentials: false
38
- name: Check commit message
39
+ id: commit-check
40
run: npx -q core-validate-commit "$COMMIT"
41
env:
42
COMMIT: ${{ github.event.after }}
43
- name: Slack Notification
- if: failure()
44
+ if: ${{ failure() && steps.commit-check.conclusion == 'failure' }}
45
uses: rtCamp/action-slack-notify@e31e87e03dd19038e411e38ae27cbad084a90661 # 2.3.3
46
47
SLACK_COLOR: '#DE512A'
0 commit comments