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.
pr-title
1 parent 1ce05b2 commit 3e7bbe3Copy full SHA for 3e7bbe3
.github/workflows/pr-title.yml
@@ -15,6 +15,6 @@ jobs:
15
script: |
16
const msg = context.payload.pull_request? context.payload.pull_request.title : context.payload.merge_group.head_commit.message;
17
console.log(`Message: ${msg}`)
18
- if (!/^(feat|fix|doc|style|refactor|test|chore|perf): .*[^.]($|\n\n)/.test(msg)) {
+ if (!/^(feat|fix|doc|style|refactor|test|chore|perf): (?![A-Z][a-z]).*[^.]($|\n\n)/.test(msg)) {
19
core.setFailed('PR title does not follow the Commit Convention (https://leanprover.github.io/lean4/doc/dev/commit_convention.html).');
20
}
0 commit comments