Add Pull Request Labeler action

This commit is contained in:
Andreas Nedbal 2023-10-27 06:53:30 +02:00 committed by Andreas Nedbal
parent 5b55f8e6ed
commit 91c9a86af7
2 changed files with 18 additions and 0 deletions

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

@ -0,0 +1,5 @@
feature:
- head-branch: ['^feature', 'feature']
bugfix:
- head-branch: ['^bugfix', 'bugfix']

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

@ -0,0 +1,13 @@
name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5.0.0-beta.1