A GitHub action to remove labels from pull requests.
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. |
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 }}