Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.32 KB

README.md

File metadata and controls

31 lines (24 loc) · 1.32 KB

Remove PR Labels

License: MIT CI

A GitHub action to remove labels from pull requests.

Input

Input Description
GITHUB_TOKEN GitHub access token for authorizing access to the repository.
Defaults to ${{ github.token }}.
LABELS An array of labels to remove, separated by commas. If not specified, all labels will be removed from the issue.

Usage

name: 'Remove all PR labels'
on:
  pull_request:
    types: [closed]

jobs:
  remove-labels:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: blinkist/action-remove-pr-labels@main
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}