From ee5e0c51e0627024d265ab82795b8d272825a453 Mon Sep 17 00:00:00 2001 From: Coelacanthus Date: Thu, 14 Dec 2023 23:47:05 +0800 Subject: [PATCH] fix auto label rule and upgrade to v5 --- .github/labeler.yml | 34 ++++++++++++++++++++++------------ .github/workflows/labeler.yml | 2 +- 2 files changed, 23 insertions(+), 13 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 2ef8b2fe..7b24359e 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -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 | 声音相关: - - '**/docs/docs/vocal-surgery/**' - - '**/docs/docs/vocal-therapy/**' +- changed-files: + - any-glob-to-any-file: + - '**/docs/docs/vocal-surgery/**' + - '**/docs/docs/vocal-therapy/**' + +Site | 站点: +- changed-files: + - any-glob-to-any-file: '**/themes/**' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 4c45e48c..b7003436 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -10,4 +10,4 @@ jobs: pull-requests: write runs-on: ubuntu-20.04 steps: - - uses: actions/labeler@v4 + - uses: actions/labeler@v5