fix auto label rule and upgrade to v5

pull/954/head
Coelacanthus 2023-12-14 23:47:05 +08:00
parent 5b87f6e355
commit ee5e0c51e0
No known key found for this signature in database
GPG Key ID: E35C89E45867AE35
2 changed files with 23 additions and 13 deletions

30
.github/labeler.yml vendored
View File

@ -1,25 +1,35 @@
# see https://github.com/actions/labeler
Content | 内容:
- '**/docs/**'
- changed-files:
- any-glob-to-any-file: '**/docs/**'
HRT:
- '**/docs/hrt/*'
- '**/docs/medicine/*'
- changed-files:
- any-glob-to-any-file:
- '**/docs/hrt/**'
- '**/docs/medicine/**'
SRS:
- '**/docs/srs/*'
- changed-files:
- any-glob-to-any-file: '**/docs/srs/**'
FFS:
- '**/docs/ffs/*'
- changed-files:
- any-glob-to-any-file: '**/docs/ffs/**'
Psycho | 精神科:
- '**/docs/psyco/*'
- '**/docs/psycho/*'
Site | 站点:
- '**/themes/**'
- changed-files:
- any-glob-to-any-file:
- '**/docs/psyco/**'
- '**/docs/psycho/**'
Voice | 声音相关:
- changed-files:
- any-glob-to-any-file:
- '**/docs/docs/vocal-surgery/**'
- '**/docs/docs/vocal-therapy/**'
Site | 站点:
- changed-files:
- any-glob-to-any-file: '**/themes/**'

View File

@ -10,4 +10,4 @@ jobs:
pull-requests: write
runs-on: ubuntu-20.04
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5