Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed May 31, 2024
1 parent d5e339b commit 96c684b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/pr-label-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ permissions:

jobs:
do-not-merge:
# Remove `do-not-merge` label before merging
if: ${{ ! contains(github.event.pull_request.labels.*.name, 'do NOT merge!!!') }}
runs-on: ubuntu-latest
steps:
- if: contains(github.event.pull_request.labels.*.name, 'do NOT merge!!!')
name: "Remove `do-not-merge` label before merging"
run: exit 1
- run: exit 0
pr-labels-ok:
needs: [do-not-merge]
runs-on: ubuntu-latest
steps:
- run: exit 0

0 comments on commit 96c684b

Please sign in to comment.