👷 add labeler action

This commit is contained in:
Niels Lohmann 2022-08-04 14:48:18 +02:00
parent 98d70d4676
commit 9e178d6207
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
2 changed files with 22 additions and 0 deletions

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

@ -0,0 +1,8 @@
documentation:
- 'README.md'
- 'docs/*'
- 'docs/**/*'
ci:
- '.github/workflows/*'
- '.github/external_ci/*'

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

@ -0,0 +1,14 @@
name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"