From: Sebastián Ramírez Date: Tue, 13 Aug 2024 01:02:29 +0000 (-0500) Subject: 👷 Add GitHub Action labeler (#12000) X-Git-Tag: 0.112.1~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=748159289f438d39ce424681c3ccd2d694561ca4;p=thirdparty%2Ffastapi%2Ffastapi.git 👷 Add GitHub Action labeler (#12000) --- diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..e07a303b14 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,23 @@ +docs: + - changed-files: + - any-glob-to-any-file: + - docs/en/docs/* + - docs_src/* + +lang-all: + - all: + - changed-files: + - any-glob-to-any-file: + - docs/*/docs/* + - all-globs-to-all-files: + - '!docs/en/docs/*' + +internal: + - changed-files: + - any-glob-to-any-file: + - .github/* + - scripts/* + - .gitignore + - .pre-commit-config.yaml + - pdm_build.py + - requirements*.txt diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..9cbdfda213 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +name: Pull Request Labeler +on: + pull_request_target: + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5