This is an automated email from the ASF dual-hosted git repository.

chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new 7e96dc7bc [KYUUBI #5874] [INFRA] Bump github labeler action to v5
7e96dc7bc is described below

commit 7e96dc7bc9a36cf4e48b3fced3b07e6fe6cd45ab
Author: panbingkun <[email protected]>
AuthorDate: Tue Dec 19 11:38:05 2023 +0800

    [KYUUBI #5874] [INFRA] Bump github labeler action to v5
    
    # :mag: 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 :bookmark:
    
    - [ ] 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 :coffin:
    
    #### Behavior With This Pull Request :tada:
    
    #### 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 <[email protected]>
    Signed-off-by: Cheng Pan <[email protected]>
---
 .github/labeler.yml           | 200 ++++++++++++++++++++++++++++--------------
 .github/workflows/labeler.yml |   2 +-
 2 files changed, 137 insertions(+), 65 deletions(-)

diff --git a/.github/labeler.yml b/.github/labeler.yml
index ecec12532..e76dad439 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -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/**/*'
+    ]
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index c4cad7aef..7d6cd5bd2 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -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

Reply via email to