Skip to content

Commit

Permalink
Use contains instead of starts with
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger committed Feb 15, 2020
1 parent 4b1c470 commit efe02c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/draft-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
draft-new-release:
runs-on: ubuntu-latest
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
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
steps:
- uses: actions/checkout@v2

Expand Down

0 comments on commit efe02c7

Please sign in to comment.