Add labeler configuration for localization

This commit is contained in:
Frederico Santos 2024-09-10 00:44:26 +01:00
parent a919b9c0af
commit f233ee6754
2 changed files with 16 additions and 0 deletions

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

@ -0,0 +1,4 @@
# Add 'AnyChange' label to any changes within the entire repository
Localization:
- changed-files:
- any-glob-to-any-file: 'src/locales/**/*'

12
.github/workflows/label-manager.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: "Pull Request Label Manager"
on:
- pull_request_target
jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5