Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adobe-rnd/github-label-wip-action

Github action that blocks a PR if it contains a specified label.
https://github.com/adobe-rnd/github-label-wip-action

Last synced: 3 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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`
```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

```sh-session
$ npm run build
$ git commit -am"...."
$ npm release
```