Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gcarpenter-chain/wip-check

Action for blocking PRs on labels or titles indicating work in progress
https://github.com/gcarpenter-chain/wip-check

action typescript utility

Last synced: 19 days ago
JSON representation

Action for blocking PRs on labels or titles indicating work in progress

Awesome Lists containing this project

README

        


typescript-action status

# Setting up

Add the following yaml to your `.github/workflows` folder:

```yaml
name: WIP
on:
pull_request:
types: [ opened, synchronize, reopened, edited, labeled, unlabeled]

jobs:
wip:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: gcarpenter-chain/wip-check@v1
```

You can specify custom labels patterns to block on (case insensitive) by passing in comma separated values to the `labels` input. By default it uses `wip,do not merge`.

```yaml
steps:
- uses: gcarpenter-chain/wip-check@v1
with:
# optional, case insensitive, defaults to: wip,do not merge
labels: comma,separated,labels
```

## Structure

Based on , see there for more details

## Publish to a release branch

Run [ncc](https://github.com/zeit/ncc) and push the results:

```bash
$ npm run pack
$ git add dist
$ git commit -a -m "prod dependencies"
$ git push origin releases/v1
```

A new version is now published! :rocket:

See the [versioning documentation](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md)