mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 13:47:15 +08:00
workflow: optimize pr check
This commit is contained in:
2
.github/workflows/pr-check-title.yml
vendored
2
.github/workflows/pr-check-title.yml
vendored
@@ -7,5 +7,5 @@ jobs:
|
||||
steps:
|
||||
- uses: Slashgear/action-check-pr-title@v4.3.0
|
||||
with:
|
||||
regexp: "^(.+)(?:(([^)s]+)))?: .{1,50}|Merge .{1,50})"
|
||||
regexp: "^(feat|fix|docs|style|refactor|perf|test|workflow|build|ci|chore|types|wip|release|revert)\(\w+\)?!?:\s.+$|^Merge\s.+$"
|
||||
helpMessage: "Your PR title is invalid. Please follow the Conventional Commits specification: https://www.conventionalcommits.org/zh-hans/v1.0.0/"
|
||||
|
||||
Reference in New Issue
Block a user