Skip to content

Commit cc254dd

Browse files
Apply suggestions from code review
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
1 parent aabf2cf commit cc254dd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/reject-conventional-commits.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Reject conventional commit prefixes
1+
name: Commit Style
22

33
on:
44
pull_request:
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616
with:
17-
fetch-depth: 0
17+
fetch-depth: 25
1818
persist-credentials: false
1919

2020
- name: Check commit titles
@@ -24,7 +24,7 @@ jobs:
2424
shell: bash
2525
run: |
2626
set -euo pipefail
27-
pattern='^(feat|fix|chore|docs|style|refactor|perf|test|build|ci|revert)(\([^)]*\))?!?:'
27+
pattern='^(feat|fix|chore|docs|style|refactor|perf|test|build|ci)(\([^)]*\))?!?:'
2828
violations=()
2929
while IFS= read -r title; do
3030
if [[ "$title" =~ $pattern ]]; then

0 commit comments

Comments
 (0)