Skip to content

Commit

Permalink
Update pr-checker.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
smog-root authored Oct 20, 2024
1 parent c92b1f9 commit 8809ace
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pr-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ if not re.search(r'Fixes #[0-9]+', pr_description):
sys.exit(1)

# Check if the PR title starts with FIX, FEAT, or DOC
if not re.match(r'^(FIX|FEAT|DOC)', pr_title):
if not re.match(r'^(Fixes|Close|Closes|Closed|Fix|Fixed|Resolve|Resolves
Resolved)', pr_title):
print('The PR title should start with Fixes, Closes, or FIX.')
sys.exit(1)

Expand Down

0 comments on commit 8809ace

Please sign in to comment.