Skip to content

Commit b448184

Browse files
committed
Use regex match for autobuild branch name
1 parent cb5e436 commit b448184

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/autobuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
echo 'Triggered by a tag push, building all targets'
130130
build_all_targets 'true'
131131
fi
132-
if [[ "${GITHUB_REF}" == "refs/heads/autobuild"* ]]; then
132+
if [[ "${GITHUB_REF}" =~ ^refs/heads/autobuild ]]; then
133133
echo 'Triggered by a push to an autobuild* branch, building all targets'
134134
build_all_targets 'true'
135135
fi

0 commit comments

Comments
 (0)