File tree Expand file tree Collapse file tree 3 files changed +4
-49
lines changed Expand file tree Collapse file tree 3 files changed +4
-49
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -20,17 +20,13 @@ rules:
2020 # Scope must be one of the following
2121 scope :
2222 level : error
23+ optional : true
2324 options :
25+ - c2patool
26+ - cawg_identity
2427 - export_schema
2528 - make_test_images
2629 - sdk
27- - c2patool
28-
29- # Scope may be empty
30- # (NOTE: Disabled for now while we work around
31- # https://github.com/KeisukeYamashita/commitlint-rs/issues/355.)
32- # scope-empty:
33- # level: ignore
3430
3531 # Subject line should exist
3632 subject-empty :
Original file line number Diff line number Diff line change @@ -110,11 +110,6 @@ jobs:
110110 echo --- commitlint results for PR title \"$PR_TITLE\" ---
111111 echo
112112
113- # Workaround for https://github.com/KeisukeYamashita/commitlint-rs/issues/355
114- if echo "$PR_TITLE" | grep -E "^[a-z]+\(.*\): "; then
115- echo "$PR_TITLE" | commitlint -g .commitlintrc.yml
116- else
117- echo "$PR_TITLE" | commitlint -g .commitlintrc.no-scope.yml
118- fi
113+ echo "$PR_TITLE" | commitlint -g .commitlintrc.yml
119114
120115 echo "✅ PR title matches all enforced rules."
You can’t perform that action at this time.
0 commit comments