Skip to main content

Remove pull request labels after stale input

Input​

Name: pull-request-remove-labels-after-stale
Type: string[]
Default value: []

Description​

This input will let you remove extra labels when the processing stale the pull requests.
This can be useful if you wish to easily remove extra labels to improve your triage post-stale.

caution

The labels must be real labels, existing inside your repository list of labels (github.com/your-organization/your-repository/labels).
If not, the GitHub API will throw an error.

Example​

# ...
name: Stale
id: stale
uses: sonia-corporation/stale@latest
with:
pull-request-remove-labels-after-stale: |
triage
new