Skip to content

Commit

Permalink
pr-checker.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBang001 authored Nov 11, 2024
1 parent d661f99 commit ccdb98c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pr-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ 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'^(Fixes|Close|Closes|Closed|Fix|Fixed|Resolve|Resolves
Resolved)', 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 , Close, Closes, Closed , Fix , Fixed , Resolve , Resolves')
sys.exit(1)

Expand All @@ -55,4 +54,3 @@ print('PR description and title are valid.')
- name: Output result
run: echo "All checks passed."

0 comments on commit ccdb98c

Please sign in to comment.