1
0
mirror of https://github.com/Stirling-Tools/Stirling-PDF.git synced 2024-11-11 02:10:11 +01:00

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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 37 additions and 0 deletions

20
.github/labeler-config.yml vendored Normal file
View File

@ -0,0 +1,20 @@
translation:
- changed-files:
- any-glob-to-any-file: 'src/main/resources/messages_*_*.properties'
Front End:
- changed-files:
- any-glob-to-any-file: 'src/main/resources/templates/**'
java:
- changed-files:
- any-glob-to-any-file: 'src/main/java/**/*.java'
documentation:
- changed-files:
- any-glob-to-any-file: '**/*.md'
docker:
- changed-files:
- any-glob-to-any-file: 'Dockerfile'
- any-glob-to-any-file: 'Dockerfile-*'

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