mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-17 19:04:13 +03:00
a4ca74602f
* Remove .travis.yml reference from .gitattributes * Minor refactoring of .svglintrc.js - Remove unused variables - Fix missing semi-colons - Remove unneeded indentation * Prevent error in clean command due to missing files * Fix indentations * Further improvements to Editorconfig and indentation * Format YAML files - Update indentation for array notation - Normalize use of newlines
51 lines
1.3 KiB
YAML
51 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@v1.0.0
|
|
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/remove-labels-gh-action@v1.0.0
|
|
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/remove-labels-gh-action@v1.0.0
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
labels: |
|
|
in discussion
|
|
pending
|
|
tracking
|