Skip to content

Commit c0b3796

Browse files
committed
ci: test
1 parent 5c1cc8d commit c0b3796

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/pr-label-check.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@ permissions:
1616

1717
jobs:
1818
do-not-merge:
19-
runs-on: ubuntu-22.04
19+
runs-on: ubuntu-latest
2020
steps:
21-
- run: |
22-
if ${{ contains(github.event.pull_request.labels.*.name, 'do NOT merge!!!') }}; then
23-
false
24-
else
25-
true
26-
fi
21+
# Remove `do-not-merge` label before merging
22+
- if: ${{ ! contains(github.event.pull_request.labels.*.name, 'do NOT merge!!!') }}
23+
run: exit 0

0 commit comments

Comments
 (0)