diff --git a/.github/workflows/pull-requests-release.yaml b/.github/workflows/pull-requests-release.yaml index a0896f26..5d97e5e6 100644 --- a/.github/workflows/pull-requests-release.yaml +++ b/.github/workflows/pull-requests-release.yaml @@ -51,10 +51,10 @@ jobs: with: script: | const branch = context.payload.pull_request.head.ref; - const match = branch.match(/^release-(v\d+\.\d+\.\d+(?:[-\w\.]+)?)$/); + const match = branch.match(/^release-(\d+\.\d+\.\d+(?:[-\w\.]+)?)$/); if (!match) { - core.setFailed(`Branch '${branch}' does not match expected format 'release-vX.Y.Z[-suffix]'`); + core.setFailed(`Branch '${branch}' does not match expected format 'release-X.Y.Z[-suffix]'`); } else { const tag = match[1]; core.setOutput('tag', tag);