⬆️ Updates conventional-changelog-cli to v4 - autoclosed #412
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Remove outdated labels | |
on: | |
pull_request_target: | |
types: | |
- closed | |
issues: | |
types: | |
- closed | |
jobs: | |
remove-merged-pr-labels: | |
name: Remove merged pull request labels | |
if: github.event.pull_request.merged | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mondeja/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
labels: | | |
awaiting reply | |
changes requested | |
duplicate | |
in discussion | |
invalid | |
out of scope | |
pending | |
won't add | |
remove-closed-pr-labels: | |
name: Remove closed pull request labels | |
if: github.event_name == 'pull_request_target' && (! github.event.pull_request.merged) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mondeja/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
labels: | | |
in discussion | |
pending | |
remove-closed-issue-labels: | |
name: Remove closed issue labels | |
if: github.event.issue.state == 'closed' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mondeja/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
labels: | | |
in discussion | |
pending | |
tracking |