From 24d62a46158fc8acf0d179f1a645f6ffce27db5b Mon Sep 17 00:00:00 2001 From: Sam Price Date: Sat, 20 Aug 2022 16:31:18 -0400 Subject: [PATCH] Fix #550, allow for nasa#550 rather than #550 in title. --- .github/workflows/format-check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/format-check.yml b/.github/workflows/format-check.yml index 2abe417c0..e494d70fd 100644 --- a/.github/workflows/format-check.yml +++ b/.github/workflows/format-check.yml @@ -83,7 +83,7 @@ jobs: - name: Check pull-request title uses: gsactions/commit-message-checker@v1 with: - pattern: '^((Fix|HotFix|Part)\s\#[0-9]+,\s[a-zA-Z0-9]+|Merge\spull\srequest\s\#[0-9]+\s[a-zA-Z0-9]+|IC:\s[a-zA-Z0-9]+)' + pattern: '^((Fix|HotFix|Part)\s\(\w+)?#[0-9]+,\s[a-zA-Z0-9]+|Merge\spull\srequest\s\#[0-9]+\s[a-zA-Z0-9]+|IC:\s[a-zA-Z0-9]+)' error: 'You need at least one "Fix|HotFix|Part #, " line in the pull-request title.' excludeDescription: 'true' excludeTitle: 'false' @@ -92,7 +92,7 @@ jobs: - name: Check each commit message uses: gsactions/commit-message-checker@v1 with: - pattern: '^((Fix|HotFix|Part)\s\#[0-9]+,\s[a-zA-Z0-9]+|Merge\spull\srequest\s\#[0-9]+\s[a-zA-Z0-9]+|IC:\s[a-zA-Z0-9]+)' + pattern: '^((Fix|HotFix|Part)\s\(\w+)?#[0-9]+,\s[a-zA-Z0-9]+|Merge\spull\srequest\s\#[0-9]+\s[a-zA-Z0-9]+|IC:\s[a-zA-Z0-9]+)' error: 'You need at least one "Fix|HotFix|Part #, " line in the commit message.' excludeDescription: 'true' excludeTitle: 'true'