We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c1cc8d commit c0b3796Copy full SHA for c0b3796
.github/workflows/pr-label-check.yml
@@ -16,11 +16,8 @@ permissions:
16
17
jobs:
18
do-not-merge:
19
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-latest
20
steps:
21
- - run: |
22
- if ${{ contains(github.event.pull_request.labels.*.name, 'do NOT merge!!!') }}; then
23
- false
24
- else
25
- true
26
- fi
+ # Remove `do-not-merge` label before merging
+ - if: ${{ ! contains(github.event.pull_request.labels.*.name, 'do NOT merge!!!') }}
+ run: exit 0
0 commit comments