[KYUUBI #5874] [INFRA] Bump github labeler action to v5

# 🔍 Description
## Issue References 🔗

This pull request aims to bump labeler action to v5.

## Describe Your Solution 🔧

The full release notes: https://github.com/actions/labeler/releases/tag/v5.0.0
Version 5 of this action updated the [runtime to Node.js 20](https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-javascript-actions). All scripts are now run with Node.js 20 instead of Node.js 16 and are affected by any breaking changes between Node.js 16 and 20.

## Types of changes 🔖

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Test Plan 🧪

#### Behavior Without This Pull Request ⚰️

#### Behavior With This Pull Request 🎉

#### Related Unit Tests

---

# Checklists
## 📝 Author Self Checklist

- [ ] My code follows the [style guidelines](https://kyuubi.readthedocs.io/en/master/contributing/code/style.html) of this project
- [ ] I have performed a self-review
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)

## 📝 Committer Pre-Merge Checklist

- [x] Pull request title is okay.
- [x] No license issues.
- [x] Milestone correctly set?
- [ ] Test coverage is ok
- [x] Assignees are selected.
- [x] Minimum number of approvals
- [x] No changes are requested

**Be nice. Be informative.**

Closes #5874 from panbingkun/github_labeler_v5.

Closes #5874

85ce1f687 [panbingkun] Bump labeler action to v5

Authored-by: panbingkun <pbk1982@gmail.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
panbingkun 2023-12-19 11:38:05 +08:00 committed by Cheng Pan
parent b3d33cabfa
commit 7e96dc7bc9
2 changed files with 137 additions and 65 deletions

200
.github/labeler.yml vendored
View File

@ -19,109 +19,181 @@
# Pull Request Labeler Github Action Configuration: https://github.com/marketplace/actions/labeler
"kind:build":
- ".dockerignore"
- ".rat-excludes"
- ".scalafmt"
- "**/*pom.xml"
- "bin/docker-image-tool.sh"
- "build/**/*"
- "docker/**/*"
- "docs/requirements"
- "kyuubi-assembly/**/*"
- "scalastyle-config.xml"
- any: ["dev/**/*", "!dev/kyuubi-codecov/**/*", "!dev/kyuubi-tpcds/**/*"]
- changed-files:
- any-glob-to-any-file: [
'.dockerignore',
'.rat-excludes',
'.scalafmt',
'**/*pom.xml',
'bin/docker-image-tool.sh',
'build/**/*',
'docker/**/*',
'docs/requirements',
'kyuubi-assembly/**/*',
'scalastyle-config.xml'
]
- all-globs-to-any-file: [
'dev/**/*',
'!dev/kyuubi-codecov/**/*',
'!dev/kyuubi-tpcds/**/*'
]
"kind:deploy":
- any: ["bin/**/*", "!bin/beeline", "!bin/docker-image-tool.sh"]
- changed-files:
- all-globs-to-any-file: [
'bin/**/*',
'!bin/beeline',
'!bin/docker-image-tool.sh'
]
"kind:documentation":
- "*.md"
- "conf/**/*"
- "docs/**/*"
- "readthedocs.yml"
- changed-files:
- any-glob-to-any-file: [
'*.md',
'conf/**/*',
'docs/**/*',
'readthedocs.yml'
]
"kind:infra":
- ".asf.yaml"
- ".gitattributes"
- ".github/**/*"
- ".gitignore"
- "LICENSE"
- "LICENSE-binary"
- "NOTICE"
- "NOTICE-binary"
- "codecov.yml"
- "dev/kyuubi-codecov/**/*"
- "licenses-binary"
- changed-files:
- any-glob-to-any-file: [
'.asf.yaml',
'.gitattributes',
'.github/**/*',
'.gitignore',
'LICENSE',
'LICENSE-binary',
'NOTICE',
'NOTICE-binary',
'codecov.yml',
'dev/kyuubi-codecov/**/*',
'licenses-binary'
]
"module:common":
- "kyuubi-common/**/*"
- changed-files:
- any-glob-to-any-file: [
'kyuubi-common/**/*'
]
"module:ctl":
- "bin/beeline"
- "kyuubi-ctl/**/*"
- "kyuubi-hive-beeline/**/*"
- "kyuubi-hive-jdbc/**/*"
- "kyuubi-hive-jdbc-shaded/**/*"
- changed-files:
- any-glob-to-any-file: [
'bin/beeline',
'kyuubi-ctl/**/*',
'kyuubi-hive-beeline/**/*',
'kyuubi-hive-jdbc/**/*',
'kyuubi-hive-jdbc-shaded/**/*'
]
"module:events":
- "kyuubi-events/**/*"
- changed-files:
- any-glob-to-any-file: [
'kyuubi-events/**/*'
]
"module:flink":
- "externals/kyuubi-flink-sql-engine/**/*"
- "integration-tests/kyuubi-flink-it/**/*"
- changed-files:
- any-glob-to-any-file: [
'externals/kyuubi-flink-sql-engine/**/*',
'integration-tests/kyuubi-flink-it/**/*'
]
"module:ha":
- "kyuubi-ha/**/*"
- "kyuubi-zookeeper/**/*"
- changed-files:
- any-glob-to-any-file: [
'kyuubi-ha/**/*',
'kyuubi-zookeeper/**/*'
]
"module:hive":
- "bin/beeline"
- "externals/kyuubi-hive-sql-engine/**/*"
- "kyuubi-hive-beeline/**/*"
- "kyuubi-hive-jdbc/**/*"
- "kyuubi-hive-jdbc-shaded/**/*"
- changed-files:
- any-glob-to-any-file: [
'bin/beeline',
'externals/kyuubi-hive-sql-engine/**/*',
'kyuubi-hive-beeline/**/*',
'kyuubi-hive-jdbc/**/*',
'kyuubi-hive-jdbc-shaded/**/*'
]
"module:jdbc":
- "externals/kyuubi-jdbc-engine/**/*"
- changed-files:
- any-glob-to-any-file: [
'externals/kyuubi-jdbc-engine/**/*'
]
"module:kubernetes":
- ".dockerignore"
- "bin/docker-image-tool.sh"
- "docker/**/*"
- "integration-tests/kyuubi-kubernetes-it/**/*"
- "tools/spark-block-cleaner/**/*"
- changed-files:
- any-glob-to-any-file: [
'.dockerignore',
'bin/docker-image-tool.sh',
'docker/**/*',
'integration-tests/kyuubi-kubernetes-it/**/*',
'tools/spark-block-cleaner/**/*'
]
"module:metrics":
- "kyuubi-metrics/**/*"
- changed-files:
- any-glob-to-any-file: [
'kyuubi-metrics/**/*'
]
"module:trino":
- "externals/kyuubi-trino-engine/**/*"
- changed-files:
- any-glob-to-any-file: [
'externals/kyuubi-trino-engine/**/*'
]
"module:tpcds":
- "dev/kyuubi-tpcds/**/*"
- changed-files:
- any-glob-to-any-file: [
'dev/kyuubi-tpcds/**/*'
]
"module:server":
- "bin/kyuubi"
- "kyuubi-server/src/**/*"
- "kyuubi-server/pom.xml"
- "extension/server/kyuubi-server-plugin/**/*"
- changed-files:
- any-glob-to-any-file: [
'bin/kyuubi',
'kyuubi-server/src/**/*',
'kyuubi-server/pom.xml',
'extension/server/kyuubi-server-plugin/**/*'
]
"module:spark":
- "externals/kyuubi-spark-sql-engine/**/*"
- "extensions/spark/**/*"
- "tools/spark-block-cleaner/**/*"
- changed-files:
- any-glob-to-any-file: [
'externals/kyuubi-spark-sql-engine/**/*',
'extensions/spark/**/*',
'tools/spark-block-cleaner/**/*'
]
"module:extensions":
- "extensions/**/*"
- changed-files:
- any-glob-to-any-file: [
'extensions/**/*'
]
"module:rest-client":
- "kyuubi-rest-client/**/*"
- changed-files:
- any-glob-to-any-file: [
'kyuubi-rest-client/**/*'
]
"module:integration-tests":
- "integration-tests/**/*"
- changed-files:
- any-glob-to-any-file: [
'integration-tests/**/*'
]
"module:authz":
- "extensions/spark/kyuubi-spark-authz/**/*"
- changed-files:
- any-glob-to-any-file: [
'extensions/spark/kyuubi-spark-authz/**/*'
]
"module:ui":
- "kyuubi-server/web-ui/**/*"
- changed-files:
- any-glob-to-any-file: [
'kyuubi-server/web-ui/**/*'
]

View File

@ -28,7 +28,7 @@ jobs:
triage:
runs-on: ubuntu-22.04
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true