From 9b93eace00dbdba5df7e1d9d4bb4db7c9b1ab485 Mon Sep 17 00:00:00 2001 From: Nieuwbourg Diego Date: Tue, 7 Oct 2025 17:46:54 +0200 Subject: [PATCH] chore(jira-pattern): allow 7 characters --- .github/workflows/github-actions-validator.yml | 2 +- validator.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-actions-validator.yml b/.github/workflows/github-actions-validator.yml index cc6c273..4d3a3cd 100644 --- a/.github/workflows/github-actions-validator.yml +++ b/.github/workflows/github-actions-validator.yml @@ -10,4 +10,4 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: lumapps/github-actions-validator@0.0.2 + - uses: lumapps/github-actions-validator@v2.0.12 diff --git a/validator.sh b/validator.sh index ef073f9..a15040d 100644 --- a/validator.sh +++ b/validator.sh @@ -8,7 +8,7 @@ readonly HEADER_PATTERN="^([^\(]+)\(([^\)]+)\): (.+)$" readonly TYPE_PATTERN="^(feat|fix|docs|gen|lint|refactor|test|chore)$" readonly SCOPE_PATTERN="^([a-z][a-z0-9]*)(-[a-z0-9]+)*$" readonly SUBJECT_PATTERN="^([A-Za-z0-9].*[^ ^\.])$" -readonly JIRA_PATTERN="[A-Z]{2,6}[0-9]{0,6}-[0-9]{1,6}" +readonly JIRA_PATTERN="[A-Z]{2,7}[0-9]{0,6}-[0-9]{1,6}" readonly JIRA_FOOTER_PATTERN="^(${JIRA_PATTERN} ?)+$" readonly JIRA_HEADER_PATTERN="^.*[^A-Z](${JIRA_PATTERN}).*$" readonly BROKE_PATTERN="^BROKEN:$"