Set up automated labeling (#3724)

This commit is contained in:
Eric Cornelissen 2020-10-15 15:10:07 +03:00 committed by GitHub
parent e60b7f3c5f
commit 79a5a08dc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

6
.github/labeler.yml vendored Normal file
View File

@ -0,0 +1,6 @@
new icon:
- any: [icons/*.svg]
status: 'added'
icon outdated:
- any: [icons/*.svg]
status: 'modified'

11
.github/workflows/labeler.yml vendored Normal file
View File

@ -0,0 +1,11 @@
name: "Pull Request Labeler"
on:
pull_request_target:
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: ericcornelissen/labeler@label-based-on-status
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"