We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
main
1 parent 3bbed16 commit d61e246Copy full SHA for d61e246
1 file changed
.github/workflows/notify-on-push.yml
@@ -34,14 +34,11 @@ jobs:
34
# cannot use ubuntu-slim here because rtCamp/action-slack-notify is dockerized
35
runs-on: ubuntu-24.04-arm
36
steps:
37
- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
38
- with:
39
- persist-credentials: false
40
- - name: Check commit message
+ - name: Validate commits
+ run: echo "$COMMITS" | npx -q core-validate-commit -
41
id: commit-check
42
- run: npx -q core-validate-commit "$COMMIT"
43
env:
44
- COMMIT: ${{ github.event.after }}
+ COMMITS: ${{ toJSON(github.event.commits) }}
45
- name: Slack Notification
46
if: ${{ failure() && steps.commit-check.conclusion == 'failure' }}
47
uses: rtCamp/action-slack-notify@e31e87e03dd19038e411e38ae27cbad084a90661 # 2.3.3
0 commit comments