mirror of https://github.com/tiangolo/fastapi.git
👷 Add GitHub Action labeler (#12000)
This commit is contained in:
parent
768df2736e
commit
748159289f
|
|
@ -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
|
||||
|
|
@ -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
|
||||
Loading…
Reference in New Issue