From 79e0a48e59ef3388f8f295050201da4aac04107f Mon Sep 17 00:00:00 2001 From: Justin Sherrill Date: Wed, 18 Dec 2024 14:26:08 -0500 Subject: [PATCH] Build: enforce full jira ticket (#912) --- .github/workflows/title.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/title.yml b/.github/workflows/title.yml index feed55fcf..afc3e1160 100644 --- a/.github/workflows/title.yml +++ b/.github/workflows/title.yml @@ -10,10 +10,9 @@ jobs: steps: - uses: deepakputhraya/action-pr-title@master with: - regex: '^Build|^((Fixes |Refs )\d+(,\d+)*): .+' # Regex the title should match. - allowed_prefixes: 'Refs ,Fixes ,Build ' # title should start with the given prefix + regex: '^Build|^(\w+-\d+(,\w+-\d+)*): .+' # Regex the title should match. disallowed_prefixes: '' # title should not start with the given prefix prefix_case_sensitive: false # title prefix are case insensitive min_length: 5 # Min length of the title - max_length: 60 # Max length of the title + max_length: 70 # Max length of the title github_token: ${{ github.token }} # Default: ${{ github.token }}