Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/adobe-rnd/github-label-wip-action
- Owner: adobe-rnd
- Created: 2020-09-05T03:53:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T11:36:45.000Z (about 1 year ago)
- Last Synced: 2023-12-15T12:44:40.321Z (about 1 year ago)
- Language: JavaScript
- Size: 116 KB
- Stars: 0
- Watchers: 6
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
```