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:
20
20
# Scope must be one of the following
21
21
scope :
22
22
level : error
23
+ optional : true
23
24
options :
25
+ - c2patool
26
+ - cawg_identity
24
27
- export_schema
25
28
- make_test_images
26
29
- 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
34
30
35
31
# Subject line should exist
36
32
subject-empty :
Original file line number Diff line number Diff line change @@ -110,11 +110,6 @@ jobs:
110
110
echo --- commitlint results for PR title \"$PR_TITLE\" ---
111
111
echo
112
112
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
119
114
120
115
echo "✅ PR title matches all enforced rules."
You can’t perform that action at this time.
0 commit comments