mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-16 10:24:12 +03:00
08e2ee5d54
Co-authored-by: LitoMore <LitoMore@users.noreply.github.com>
53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
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/remove-labels-gh-action@v2
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
labels: |
|
|
assessing
|
|
awaiting reply
|
|
duplicate
|
|
in discussion
|
|
invalid
|
|
out of scope
|
|
pending
|
|
permission required
|
|
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/remove-labels-gh-action@v2
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
labels: |
|
|
in discussion
|
|
pending
|
|
assessing
|
|
remove-closed-issue-labels:
|
|
name: Remove closed issue labels
|
|
if: github.event.issue.state == 'closed'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: mondeja/remove-labels-gh-action@v2
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
labels: |
|
|
in discussion
|
|
pending
|
|
assessing
|