Skip to content

Commit 7c0c493

Browse files
committed
chore(ci): allow ', ", ` characters to prefix commit description
1 parent 13a0ce7 commit 7c0c493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
const title = context.payload.pull_request.title;
2626
// This should match https://github.com/filecoin-project/lotus/blob/master/README.md#pr-title-conventions
2727
// 202408: Beyond Conventional Commit conventions, we also optionally suport the "scope" outside of paranenthesis for a transitionary period from legacy conventions per https://github.com/filecoin-project/lotus/pull/12340
28-
const pattern = /^(\[skip changelog\]\s)?(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([\w.]+\))?!?:?\s(\w+:)?\s?[a-z].+$/;
28+
const pattern = /^(\[skip changelog\]\s)?(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([\w.]+\))?!?:?\s(\w+:)?\s?["'`a-z].+$/;
2929
3030
if (!pattern.test(title)) {
3131
await github.rest.pulls.createReview({

0 commit comments

Comments
 (0)