Update actions/labeler action to v5 (#730)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mimi <1119186082@qq.com>
This commit is contained in:
renovate[bot] 2023-12-06 10:16:43 +08:00 committed by GitHub
parent c32066ae1a
commit b5c0359a32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 9 deletions

32
.github/labeler.yml vendored
View File

@ -1,10 +1,26 @@
# Configuration for labeler - https://github.com/actions/labeler
📦 Dependencies: package.json
Configurations: _config.yml
CSS: source/css/**/*
📖 Docs: docs/**/*
Layout: layout/**/*
🌍 i18n: languages/**/*
Actions: .github/workflows/**/*
🔌 3rd Party Plugin: '**/*third-party/**/*'
📦 Dependencies:
- changed-files:
- any-glob-to-any-file: package.json
Configurations:
- changed-files:
- any-glob-to-any-file: _config.yml
CSS:
- changed-files:
- any-glob-to-any-file: source/css/**/*
📖 Docs:
- changed-files:
- any-glob-to-any-file: docs/**/*
Layout:
- changed-files:
- any-glob-to-any-file: layout/**/*
🌍 i18n:
- changed-files:
- any-glob-to-any-file: languages/**/*
Actions:
- changed-files:
- any-glob-to-any-file: .github/workflows/**/*
🔌 3rd Party Plugin:
- changed-files:
- any-glob-to-any-file: '**/*third-party/**/*'

View File

@ -7,7 +7,7 @@ jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
# https://github.com/peaceiris/actions-label-commenter#work-with-other-auto-label-actions
with:
repo-token: "${{ secrets.GH_PAT }}"