Skip to content

Commit 9895d4a

Browse files
committed
Support semver plus 4th number
1 parent f744d86 commit 9895d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
# Checking the PR title is a poor substitute for the actual PR changes
2323
# but as long as this is used only with dependabot PRs,
2424
# it should be safe to assume that the title is not misleading.
25-
regexp='^Bump .* from [0-9]+\.[0-9]+\.[0-9]+ to [0-9]+\.[0-9]+\.[0-9]+( in .*)?$'
25+
regexp='^Bump .* from [0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)? to [0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?( in .*)?$'
2626
if [[ "${PR_TITLE}" =~ $regexp ]]; then
2727
gh pr review --approve "${PR_URL}"
2828
else

0 commit comments

Comments
 (0)