From 04149483b4b5ed7f608e577d628841ec05eb2655 Mon Sep 17 00:00:00 2001 From: Balduin Landolt <33053745+BalduinLandolt@users.noreply.github.com> Date: Fri, 9 Apr 2021 09:30:16 +0200 Subject: [PATCH] chore: allow release PRs in PR title check (#54) --- .github/workflows/ckeck-pr-title.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ckeck-pr-title.yml b/.github/workflows/ckeck-pr-title.yml index 9a693b0ed..d0a68af85 100644 --- a/.github/workflows/ckeck-pr-title.yml +++ b/.github/workflows/ckeck-pr-title.yml @@ -12,7 +12,7 @@ jobs: # check PR title - uses: deepakputhraya/action-pr-title@master with: - regex: '([a-z])+(\(([a-z\-_])+\))?!?: ([a-zA-Z ])+ \([A-Z]+-\d+\)' # Regex the title should match. + regex: '([a-z])+(\(([a-z\-_])+\))?!?: ([a-zA-Z ])+ (\([A-Z]+-\d+\)|\d(\.\d){2}$)' # Regex the title should match. allowed_prefixes: 'fix,refactor,feat,docs,chore,style,test' # title should start with the given prefix disallowed_prefixes: 'feature,hotfix,doc' # title should not start with the given prefix prefix_case_sensitive: true # title prefix are case insensitive