rogerluan / label-remover

Removes all labels from a pull request once it is merged or closed.
MIT License
3 stars 2 forks source link

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

Usage

Add a GitHub action.

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.