This action blocks a PR if contains a specified label.
Required The label to block
add a file: .github/workflows/wip.yaml
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
jobs:
block_label:
runs-on: ubuntu-latest
name: Check for 'breaking' label
steps:
- uses: adobe-rnd/github-label-wip-action@master
with:
label: breaking
$ npm run build
$ git commit -am"...."
$ npm release