👷 add labeler action
This commit is contained in:
parent
98d70d4676
commit
9e178d6207
8
.github/labeler.yml
vendored
Normal file
8
.github/labeler.yml
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
documentation:
|
||||
- 'README.md'
|
||||
- 'docs/*'
|
||||
- 'docs/**/*'
|
||||
|
||||
ci:
|
||||
- '.github/workflows/*'
|
||||
- '.github/external_ci/*'
|
||||
14
.github/workflows/labeler.yml
vendored
Normal file
14
.github/workflows/labeler.yml
vendored
Normal 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 }}"
|
||||
Loading…
Reference in New Issue
Block a user