👷 Add GitHub Action labeler (#1068)
This commit is contained in:
parent
af56dc165f
commit
86f6eeea19
15
.github/labeler.yml
vendored
Normal file
15
.github/labeler.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
docs:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- docs/**/*
|
||||
- docs_src/**/*
|
||||
|
||||
internal:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- .github/**/*
|
||||
- scripts/**/*
|
||||
- .gitignore
|
||||
- .pre-commit-config.yaml
|
||||
- pdm_build.py
|
||||
- requirements*.txt
|
12
.github/workflows/labeler.yml
vendored
Normal file
12
.github/workflows/labeler.yml
vendored
Normal file
@ -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…
x
Reference in New Issue
Block a user