We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aabf2cf commit cc254ddCopy full SHA for cc254dd
1 file changed
.github/workflows/reject-conventional-commits.yml
@@ -1,4 +1,4 @@
1
-name: Reject conventional commit prefixes
+name: Commit Style
2
3
on:
4
pull_request:
@@ -14,7 +14,7 @@ jobs:
14
steps:
15
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16
with:
17
- fetch-depth: 0
+ fetch-depth: 25
18
persist-credentials: false
19
20
- name: Check commit titles
@@ -24,7 +24,7 @@ jobs:
24
shell: bash
25
run: |
26
set -euo pipefail
27
- pattern='^(feat|fix|chore|docs|style|refactor|perf|test|build|ci|revert)(\([^)]*\))?!?:'
+ pattern='^(feat|fix|chore|docs|style|refactor|perf|test|build|ci)(\([^)]*\))?!?:'
28
violations=()
29
while IFS= read -r title; do
30
if [[ "$title" =~ $pattern ]]; then
0 commit comments