From de5940fe44e7c1b7fac095e6fbcd9b2143b6e4af Mon Sep 17 00:00:00 2001 From: smog-root Date: Sun, 20 Oct 2024 20:46:30 +0530 Subject: [PATCH] Update pr-checker.yaml --- .github/workflows/pr-checker.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.')