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 # Configuration for labeler - https://github.com/actions/labeler
📦 Dependencies: package.json 📦 Dependencies:
Configurations: _config.yml - changed-files:
CSS: source/css/**/* - any-glob-to-any-file: package.json
📖 Docs: docs/**/* Configurations:
Layout: layout/**/* - changed-files:
🌍 i18n: languages/**/* - any-glob-to-any-file: _config.yml
Actions: .github/workflows/**/* CSS:
🔌 3rd Party Plugin: '**/*third-party/**/*' - 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: triage:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/labeler@v4 - uses: actions/labeler@v5
# https://github.com/peaceiris/actions-label-commenter#work-with-other-auto-label-actions # https://github.com/peaceiris/actions-label-commenter#work-with-other-auto-label-actions
with: with:
repo-token: "${{ secrets.GH_PAT }}" repo-token: "${{ secrets.GH_PAT }}"