From 0e6939f5b10d03c8d8a113bf02b26cf5f332cc7b Mon Sep 17 00:00:00 2001 From: Thomas Leplus Date: Tue, 22 Oct 2024 21:30:37 +0530 Subject: [PATCH] Support semver plus 4th number --- .github/workflows/automerge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index f5870fc..65e35de 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -22,7 +22,7 @@ jobs: # Checking the PR title is a poor substitute for the actual PR changes # but as long as this is used only with dependabot PRs, # it should be safe to assume that the title is not misleading. - regexp='^Bump .* from [0-9]+\.[0-9]+\.[0-9]+ to [0-9]+\.[0-9]+\.[0-9]+( in .*)?$' + regexp='^Bump .* from [0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)? to [0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?( in .*)?$' if [[ "${PR_TITLE}" =~ $regexp ]]; then gh pr review --approve "${PR_URL}" else