add labeler bot

pull/769/head
Septs 2023-03-22 11:55:50 +08:00
parent ddf31bcde8
commit 7ecd602055
No known key found for this signature in database
GPG Key ID: 65144037AFA516E1
2 changed files with 26 additions and 0 deletions

13
.github/labeler.yml vendored 100644
View File

@ -0,0 +1,13 @@
# see https://github.com/actions/labeler
hrt:
- '**/docs/hrt/*'
- '**/docs/medicine/*'
srs:
- '**/docs/srs/*'
- '**/docs/ffs/*'
psycho:
- '**/docs/psyco/*'
- '**/docs/psycho/*'

13
.github/workflows/labeler.yml vendored 100644
View File

@ -0,0 +1,13 @@
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