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

34
.github/labeler.yml vendored
View File

@ -1,25 +1,35 @@
# see https://github.com/actions/labeler # see https://github.com/actions/labeler
Content | 内容: Content | 内容:
- '**/docs/**' - changed-files:
- any-glob-to-any-file: '**/docs/**'
HRT: HRT:
- '**/docs/hrt/*' - changed-files:
- '**/docs/medicine/*' - any-glob-to-any-file:
- '**/docs/hrt/**'
- '**/docs/medicine/**'
SRS: SRS:
- '**/docs/srs/*' - changed-files:
- any-glob-to-any-file: '**/docs/srs/**'
FFS: FFS:
- '**/docs/ffs/*' - changed-files:
- any-glob-to-any-file: '**/docs/ffs/**'
Psycho | 精神科: Psycho | 精神科:
- '**/docs/psyco/*' - changed-files:
- '**/docs/psycho/*' - any-glob-to-any-file:
- '**/docs/psyco/**'
Site | 站点: - '**/docs/psycho/**'
- '**/themes/**'
Voice | 声音相关: Voice | 声音相关:
- '**/docs/docs/vocal-surgery/**' - changed-files:
- '**/docs/docs/vocal-therapy/**' - 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 pull-requests: write
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/labeler@v4 - uses: actions/labeler@v5