From 9136e3d2a6db4036b56b3c0d64816de0ae7500a5 Mon Sep 17 00:00:00 2001 From: jdl824 <106250947+jdl824@users.noreply.github.com> Date: Thu, 21 Sep 2023 13:38:22 -0400 Subject: [PATCH 1/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 249e880..f27b591 100644 --- a/README.md +++ b/README.md @@ -133,4 +133,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! -## test +## test1 From 9d8c31e6d92f1adec960a06a27659ff29650ead8 Mon Sep 17 00:00:00 2001 From: jdl824 <106250947+jdl824@users.noreply.github.com> Date: Thu, 21 Sep 2023 14:23:22 -0400 Subject: [PATCH 2/6] Update PR-linter.yml --- .github/workflows/PR-linter.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/PR-linter.yml b/.github/workflows/PR-linter.yml index ef038a8..67c6613 100644 --- a/.github/workflows/PR-linter.yml +++ b/.github/workflows/PR-linter.yml @@ -10,5 +10,5 @@ jobs: steps: - uses: seferov/pr-lint-action@master with: - title-regex: '^POS-\d+\s.+' - error-message: 'Add Ticket ID to your title e.g. "POS-1"' + title-regex: '^POS-\S.' + error-message: 'Add Ticket ID to your title e.g. "POS-"' From 33172eb8ffe1118a6e1014ce6ab37516f7edca80 Mon Sep 17 00:00:00 2001 From: jdl824 <106250947+jdl824@users.noreply.github.com> Date: Thu, 21 Sep 2023 14:34:27 -0400 Subject: [PATCH 3/6] Update PR-linter.yml --- .github/workflows/PR-linter.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/PR-linter.yml b/.github/workflows/PR-linter.yml index 67c6613..31121b2 100644 --- a/.github/workflows/PR-linter.yml +++ b/.github/workflows/PR-linter.yml @@ -3,12 +3,16 @@ name: PR check naming convention on: pull_request: types: ['opened', 'edited', 'reopened', 'synchronize'] - + jobs: - pr-lint: + title-check: runs-on: ubuntu-latest steps: - - uses: seferov/pr-lint-action@master - with: - title-regex: '^POS-\S.' - error-message: 'Add Ticket ID to your title e.g. "POS-"' + - uses: naveenk1223/action-pr-title@master + with: + regex: '.+' # Regex the title should match. + allowed_prefixes: 'POS-,PSCPOS-,COUPON-,Patch' # title should start with the given prefix + prefix_case_sensitive: True # title prefix are case insensitive + min_length: 10 # Min length of the title + max_length: -1 # Max length of the title + error-message: 'Add Ticket ID to your title e.g. "POS-"' From 4e093df7dfcc0923732ba99080f584608877246e Mon Sep 17 00:00:00 2001 From: jdl824 <106250947+jdl824@users.noreply.github.com> Date: Thu, 21 Sep 2023 14:47:50 -0400 Subject: [PATCH 4/6] Update PR-linter.yml --- .github/workflows/PR-linter.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/PR-linter.yml b/.github/workflows/PR-linter.yml index 31121b2..e99e9c7 100644 --- a/.github/workflows/PR-linter.yml +++ b/.github/workflows/PR-linter.yml @@ -10,9 +10,8 @@ jobs: steps: - uses: naveenk1223/action-pr-title@master with: - regex: '.+' # Regex the title should match. + regex: '\S.+' # Regex the title should match. allowed_prefixes: 'POS-,PSCPOS-,COUPON-,Patch' # title should start with the given prefix prefix_case_sensitive: True # title prefix are case insensitive min_length: 10 # Min length of the title max_length: -1 # Max length of the title - error-message: 'Add Ticket ID to your title e.g. "POS-"' From aaf2d59979d2aa226dda3871d4ecf0e5da4e0675 Mon Sep 17 00:00:00 2001 From: jdl824 <106250947+jdl824@users.noreply.github.com> Date: Thu, 21 Sep 2023 14:53:39 -0400 Subject: [PATCH 5/6] Update PR-linter.yml --- .github/workflows/PR-linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/PR-linter.yml b/.github/workflows/PR-linter.yml index e99e9c7..45b2144 100644 --- a/.github/workflows/PR-linter.yml +++ b/.github/workflows/PR-linter.yml @@ -11,7 +11,7 @@ jobs: - uses: naveenk1223/action-pr-title@master with: regex: '\S.+' # Regex the title should match. - allowed_prefixes: 'POS-,PSCPOS-,COUPON-,Patch' # title should start with the given prefix + allowed_prefixes: 'POS-,PSCPOS-,COUPON-,Patch,CMIS,RELEASE,Revert' # title should start with the given prefix prefix_case_sensitive: True # title prefix are case insensitive min_length: 10 # Min length of the title max_length: -1 # Max length of the title From f01180bb9d65c94a5ac4e967119dec725139a5ce Mon Sep 17 00:00:00 2001 From: jdl824 <106250947+jdl824@users.noreply.github.com> Date: Fri, 22 Sep 2023 09:30:32 -0400 Subject: [PATCH 6/6] Update PR-linter.yml --- .github/workflows/PR-linter.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/PR-linter.yml b/.github/workflows/PR-linter.yml index 45b2144..93325d4 100644 --- a/.github/workflows/PR-linter.yml +++ b/.github/workflows/PR-linter.yml @@ -8,10 +8,14 @@ jobs: title-check: runs-on: ubuntu-latest steps: - - uses: naveenk1223/action-pr-title@master + - uses: jdl824/action-pr-title@master with: regex: '\S.+' # Regex the title should match. allowed_prefixes: 'POS-,PSCPOS-,COUPON-,Patch,CMIS,RELEASE,Revert' # title should start with the given prefix prefix_case_sensitive: True # title prefix are case insensitive min_length: 10 # Min length of the title max_length: -1 # Max length of the title + help_message: 'Please use a valid title prefix: POS-,PSCPOS-,COUPON-,Patch,CMIS,RELEASE,Revert' + #flags: + #github_token: +