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

https://github.com/rogerluan/label-remover

Removes all labels from a pull request once it is merged or closed.
https://github.com/rogerluan/label-remover

Last synced: 9 months ago
JSON representation

Removes all labels from a pull request once it is merged or closed.

Awesome Lists containing this project

README

          

# Label Remover


Unit tests status


Follow on Twitter

This GitHub Action will remove all labels of a PR upon trigger. This is specially useful if you execute this action upon pull request merge/close.

## Preview

![preview](./docs/assets/preview.png)

## Usage

Add a GitHub action.

```yaml
name: Remove All Labels

on:
pull_request:
types: [closed]

jobs:
remove_labels:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: rogerluan/label-remover@v1.0.1
with:
github_token: ${{ secrets.github_token }}
```

## License

Copyright 2020 Roger Oba.

_Label Remover_ is released under the [MIT License](./LICENSE).