Skip to content

Commit

Permalink
Update do-not-merge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizencc authored Feb 22, 2024
1 parent 5a626bb commit a482047
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/do-not-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@ on:

jobs:
do-not-merge:
if: contains(github.event.pull_request.labels.*.name, 'pr/do-not-merge')
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- run: exit 1
otherwise:
runs-on: ubuntu-latest
steps:
- run: exit 0
- if: contains(github.event.pull_request.labels.*.name, 'pr/do-not-merge')
run: exit 1

0 comments on commit a482047

Please sign in to comment.