Skip to content

Commit

Permalink
🎨 add minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
flaxel authored and 0x46616c6b committed Apr 25, 2024
1 parent 7cc9412 commit 65bd821
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/template_do_not_merge.yml
Expand Up @@ -17,10 +17,9 @@ jobs:
# contains(search, item) is not case-sensitive
# Therefore 'Do Not Merge' and 'DO NOT MERGE' will also match
# see https://docs.github.com/en/actions/learn-github-actions/expressions#contains
if: contains(github.event.pull_request.labels.*.name, ${{ inputs.label }})

steps:
- name: fail if label exists
if: contains(github.event.pull_request.labels.*.name, ${{ inputs.label }})
run: |
echo "This PR has the label '${{ inputs.label }}'."
exit 1

0 comments on commit 65bd821

Please sign in to comment.