diff --git a/.github/workflows/commits.yml b/.github/workflows/commits.yml index 2ee392b6..7a61b633 100644 --- a/.github/workflows/commits.yml +++ b/.github/workflows/commits.yml @@ -17,7 +17,7 @@ jobs: if: ${{ github.actor != 'dependabot[bot]' }} run: | set -eux - TARGET_FROM_PR_TITLE="$(echo "${TITLE}" | sed -n 's/.*(\(\(latest\|[0-9]\.[0-9]\)-\(edge\|candidate\)\))$/\1/p')" + TARGET_FROM_PR_TITLE="$(echo "${TITLE}" | sed -n 's/.*(\(\(latest\|[0-9]\+\.[0-9]\+\)-\(edge\|candidate\)\))$/\1/p')" if [ -z "${TARGET_FROM_PR_TITLE}" ]; then TARGET_FROM_PR_TITLE="latest-edge" else