Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
tools: only report commit validation failure on Slack
  • Loading branch information
aduh95 committed Dec 19, 2025
commit 40af0940fe324d5fea9ac0dd927553da96ec37dc
3 changes: 2 additions & 1 deletion .github/workflows/notify-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ jobs:
with:
persist-credentials: false
- name: Check commit message
id: commit-check
run: npx -q core-validate-commit "$COMMIT"
env:
COMMIT: ${{ github.event.after }}
- name: Slack Notification
if: failure()
if: ${{ failure() && steps.commit-check.conclusion == 'failure' }}
uses: rtCamp/action-slack-notify@e31e87e03dd19038e411e38ae27cbad084a90661 # 2.3.3
env:
SLACK_COLOR: '#DE512A'
Expand Down