From 86b24fa6b097c6ac2454032c2b3460cb10593ef6 Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Fri, 5 Jul 2024 11:25:14 +0100 Subject: [PATCH] github: Bring regex inlinx with latest-edge Signed-off-by: Thomas Parrott --- .github/workflows/commits.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commits.yml b/.github/workflows/commits.yml index 2ee392b60..7a61b633c 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