This is an automated email from the ASF dual-hosted git repository.
yao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new da22498 [KYUUBI #2085] Add a labeler github action to triage PRs
da22498 is described below
commit da22498a4f1015f9c4bdf28b40fa6d0a6ffd952c
Author: Fu Chen <[email protected]>
AuthorDate: Mon Mar 14 16:58:40 2022 +0800
[KYUUBI #2085] Add a labeler github action to triage PRs
### _Why are the changes needed?_
to close #2085
### _How was this patch tested?_
A series of local tests ran on my forked repo.
- https://github.com/cfmcgrady/incubator-kyuubi/pull/8
- https://github.com/cfmcgrady/incubator-kyuubi/pull/9
- https://github.com/cfmcgrady/incubator-kyuubi/pull/10
Closes #2132 from cfmcgrady/kyuubi-2085.
Closes #2085
a0446dbc [Fu Chen] docs => documentation
b2e148cb [Fu Chen] order
51abf737 [Fu Chen] update label
ea467b2d [Fu Chen] v4
709a8f4d [Fu Chen] v2
bb5a7089 [Fu Chen] v3
66f4f229 [Fu Chen] colon in the key
dd5186c7 [Fu Chen] test labeler
Authored-by: Fu Chen <[email protected]>
Signed-off-by: Kent Yao <[email protected]>
---
.github/labeler.yml | 106 ++++++++++++++++++++++++++++++++++++++++++
.github/workflows/labeler.yml | 34 ++++++++++++++
2 files changed, 140 insertions(+)
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 0000000..ff59828
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,106 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# 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-extension-spark*/**/*", "!dev/kyuubi-tpcds/**/*"]
+
+"kind:deploy":
+ - any: ["bin/**/*", "!bin/beeline", "!bin/docker-image-tool.sh"]
+
+"kind:documentation":
+ - "*.md"
+ - "conf/**/*"
+ - "docs/**/*"
+ - "readthedocs.yml"
+
+"kind:infra":
+ - ".asf.yaml"
+ - ".gitattributes"
+ - ".github/**/*"
+ - ".gitignore"
+ - ".travis.yml"
+ - "DISCLAIMER"
+ - "LICENSE"
+ - "LICENSE-binary"
+ - "NOTICE"
+ - "NOTICE-binary"
+ - "codecov.yml"
+ - "dev/kyuubi-codecov/**/*"
+ - "licenses-binary"
+
+"module:common":
+ - "kyuubi-common/**/*"
+
+"module:ctl":
+ - "bin/beeline"
+ - "kyuubi-common/**/*"
+ - "kyuubi-hive-beeline/**/*"
+ - "kyuubi-hive-jdbc/**/*"
+ - "kyuubi-hive-jdbc-shaded/**/*"
+
+"module:flink":
+ - "kyuubi-flink-it/**/*"
+ - "externals/kyuubi-flink-sql-engine/**/*"
+
+"module:ha":
+ - "kyuubi-ha/**/*"
+ - "kyuubi-zookeeper/**/*"
+
+"module:hive":
+ - "kyuubi-hive-sql-engine/**/*"
+
+"module:kubernetes":
+ - ".dockerignore"
+ - "bin/docker-image-tool.sh"
+ - "docker/**/*"
+ - "integration-tests/kyuubi-kubernetes-deployment-it/**/*"
+ - "tools/spark-block-cleaner/**/*"
+
+"module:metrics":
+ - "kyuubi-metrics/**/*"
+
+"module:trino":
+ - "externals/kyuubi-trino-engine/**/*"
+
+"module:tpcds":
+ - "dev/kyuubi-tpcds/**/*"
+
+"module:server":
+ - "bin/kyuubi"
+ - "kyuubi-server/**/*"
+ - "kyuubi-server-plugin/**/*"
+
+"module:spark":
+ - "externals/kyuubi-spark-sql-engine/**/*"
+ - "dev/kyuubi-extension-spark*/**/*"
+ - "tools/spark-block-cleaner/**/*"
+
+"module:plugin":
+ - "kyuubi-server-plugin/**/*"
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644
index 0000000..eb5d898
--- /dev/null
+++ b/.github/workflows/labeler.yml
@@ -0,0 +1,34 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+name: "Pull Request Labeler"
+on: pull_request_target
+
+permissions:
+ contents: read
+ pull-requests: write
+
+jobs:
+ triage:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/labeler@v4
+ with:
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"
+ sync-labels: true