Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed May 30, 2024
1 parent 5c1cc8d commit 06c5542
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/pr-label-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
types:
- opened # for "Require status checks to pass"
- synchronize # ditto
#- synchronize # ditto
- labeled
- unlabeled

Expand All @@ -16,11 +16,8 @@ permissions:

jobs:
do-not-merge:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- run: |
if ${{ contains(github.event.pull_request.labels.*.name, 'do NOT merge!!!') }}; then
false
else
true
fi
- if: contains(github.event.pull_request.labels.*.name, 'do NOT merge!!!')
name: "Remove `do-not-merge` label before merging"
run: exit 1

0 comments on commit 06c5542

Please sign in to comment.