rofe / github-label-wip-action

Github action that blocks a PR if it contains a specified label.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github WIP Label Action

This action blocks a PR if contains a specified label.

Inputs

label

Required The label to block

Example usage

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

Development

build and deploy

$ npm run build
$ git commit -am"...."
$ npm release

About

Github action that blocks a PR if it contains a specified label.


Languages

Language:JavaScript 100.0%