Skip to content

Commit 2c8fd74

Browse files
committed
fix: comment with guidance
1 parent 8b8a812 commit 2c8fd74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/compliance.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@ jobs:
2727
fetch-depth: 0
2828

2929
- name: Validate conventional commits
30+
id: commitlint
3031
uses: wagoid/commitlint-github-action@v6
3132
with:
3233
configFile: .commitlintrc.warning.json
3334
continue-on-error: true
3435

3536
- name: Add commit message guidance comment
36-
if: failure()
37+
if: steps.commitlint.outcome == 'failure'
3738
uses: actions/github-script@v7
3839
with:
3940
script: |

0 commit comments

Comments
 (0)