Skip to content

Commit 7c6538b

Browse files
committed
feat: enforce lowercase start for PR title subjects
1 parent 37c9110 commit 7c6538b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/lint-pr-title.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@ jobs:
1616
uses: amannn/action-semantic-pull-request@v5
1717
env:
1818
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
with:
20+
# Enforce that the subject starts with a lowercase letter.
21+
subjectPattern: ^[a-z].*$
22+
subjectPatternError: |
23+
The subject "{subject}" must start with a lowercase letter.

0 commit comments

Comments
 (0)