Skip to content

Commit efe02c7

Browse files
Use contains instead of starts with
1 parent 4b1c470 commit efe02c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/draft-new-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
draft-new-release:
99
runs-on: ubuntu-latest
10-
if: startsWith(github.event.issue.title, 'Release version') && endsWith(github.event.issue.labels.*.name, 'release') # only run for issues with a specific title and label
10+
if: startsWith(github.event.issue.title, 'Release version') && contains(github.event.issue.labels.*.name, 'release') # only run for issues with a specific title and label
1111
steps:
1212
- uses: actions/checkout@v2
1313

0 commit comments

Comments
 (0)