Skip to content

Commit

Permalink
using startswith to match PR title
Browse files Browse the repository at this point in the history
Signed-off-by: Jaydip Gabani <[email protected]>
  • Loading branch information
JaydipGabani committed Nov 29, 2023
1 parent 2083a55 commit 3b8d92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3b8d92a

Please sign in to comment.