diff --git a/.github/workflows/pr-checker.yaml b/.github/workflows/pr-checker.yaml index 71901d3..52f6dda 100644 --- a/.github/workflows/pr-checker.yaml +++ b/.github/workflows/pr-checker.yaml @@ -38,13 +38,13 @@ if not pr_description: # Check if the PR description contains 'Fixes #' if not re.search(r'Fixes #[0-9]+', pr_description): - print('The PR description should include Fixes #.') + print('The PR description should include Fixes , Close, Closes, Closed , Fix , Fixed , Resolve , Resolves #.') 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): - print('The PR title should start with Fixes, Closes, or FIX.') + print('The PR title should start with Fixes , Close, Closes, Closed , Fix , Fixed , Resolve , Resolves') sys.exit(1) print('PR description and title are valid.')