add workflow labeler action for i18n (#1403)

Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
This commit is contained in:
Lorenzo Lewis
2023-08-16 11:43:09 +01:00
committed by GitHub
parent 1f5c967d44
commit ec24736e1f
2 changed files with 18 additions and 0 deletions

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

@@ -0,0 +1,4 @@
# See https://github.com/actions/labeler
i18n:
- docs/src/content/docs/fr/**/*

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 }}'