Add labeler action for pull requests (#1529)

* Automatically label PRs

* Update labeler-config.yml
This commit is contained in:
Ludy
2024-07-06 16:43:53 +02:00
committed by GitHub
parent e426d99145
commit 19831c050c
2 changed files with 37 additions and 0 deletions

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

@@ -0,0 +1,17 @@
name: "Pull Request Labeler"
on:
pull_request:
types: [opened, synchronize]
jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler-config.yml
sync-labels: true