Skip to content

Commit 661d27f

Browse files
committed
fix(ci): support dependabot's conventional commit messages
1 parent 879524c commit 661d27f

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
@@ -24,7 +24,7 @@ jobs:
2424
# Checking the PR title is a poor substitute for the actual PR changes
2525
# but as long as this is used only with dependabot PRs,
2626
# it should be safe to assume that the title is not misleading.
27-
regexp='^Bump .* from [0-9]+\.[0-9]+(\.[0-9]+)?(\.[0-9]+)?(\-[a-z]+)? to [0-9]+\.[0-9]+(\.[0-9]+)?(\.[0-9]+)?(\-[a-z]+)?( in .*)?$'
27+
regexp='[Bb]ump .* from [0-9]+\.[0-9]+(\.[0-9]+)?(\.[0-9]+)?(\-[a-z]+)? to [0-9]+\.[0-9]+(\.[0-9]+)?(\.[0-9]+)?(\-[a-z]+)?( in .*)?$'
2828
if ! [[ "${PR_TITLE}" =~ ${regexp} ]] ; then
2929
echo 'Non-semver upgrade, needs manual review.'
3030
elif [ "${BASH_REMATCH[3]}" != "${BASH_REMATCH[6]}" ] ; then

0 commit comments

Comments
 (0)