From 3b8d92a7670d294317d4e9ec493b8cc7efab4441 Mon Sep 17 00:00:00 2001 From: Jaydip Gabani Date: Wed, 29 Nov 2023 21:46:45 +0000 Subject: [PATCH] using startswith to match PR title Signed-off-by: Jaydip Gabani --- .github/workflows/tag.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index b4dde043a3b..1660271b143 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -9,7 +9,7 @@ permissions: jobs: create_tag: name: "Create tag" - if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release-pr') && contains(github.event.pull_request.title, format('chore{0} Prepare', ':')) + if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release-pr') && startsWith(github.event.pull_request.title, format('chore{0} Prepare', ':')) runs-on: ubuntu-22.04 steps: - name: "Set release tag"