This is an automated email from the ASF dual-hosted git repository.
nicholasjiang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/celeborn.git
The following commit(s) were added to refs/heads/main by this push:
new 5adce2b40 [CELEBORN-1949] Add a labeler github action to triage PRs
5adce2b40 is described below
commit 5adce2b408ea6eaf80cb3355ec51c68e0178c0ea
Author: Wang, Fei <[email protected]>
AuthorDate: Tue Apr 1 19:13:34 2025 +0800
[CELEBORN-1949] Add a labeler github action to triage PRs
### What changes were proposed in this pull request?
Add a labeler github action to triage PRs.
### Why are the changes needed?
Provide insights for the PR.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
See testing in https://github.com/apache/celeborn/pull/3188
<img width="934" alt="image"
src="https://github.com/user-attachments/assets/41a6048f-eb9a-4fa9-9696-4c3f6bb3ab6f"
/>
<img width="1367" alt="image"
src="https://github.com/user-attachments/assets/f9ad32ea-d2f7-43d6-b041-f336baca02d9"
/>
Closes #3189 from turboFei/labels.
Authored-by: Wang, Fei <[email protected]>
Signed-off-by: SteNicholas <[email protected]>
---
.github/labeler.yml | 164 ++++++++++++++++++++++++++++++++++++++++++
.github/workflows/labeler.yml | 33 +++++++++
2 files changed, 197 insertions(+)
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 000000000..e305d80ea
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,164 @@
+#
+# 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":
+ - changed-files:
+ - any-glob-to-any-file: [
+ '.rat-excludes',
+ '.scalafmt.conf',
+ '**/*pom.xml',
+ '.mvn/**/*',
+ 'build/**/*',
+ 'dev/**/*',
+ 'docker/**/*',
+ 'project/**/*',
+ 'requirements.txt',
+ 'version.sbt',
+ ]
+
+"kind:deploy":
+ - changed-files:
+ - all-globs-to-any-file: [
+ 'bin/**/*',
+ 'sbin/**/*',
+ 'assets/grafana/*',
+ 'charts/**/*',
+ ]
+
+"kind:documentation":
+ - changed-files:
+ - any-glob-to-any-file: [
+ '*.md',
+ 'conf/**/*',
+ 'docs/**/*',
+ 'mkdocs.yml',
+ 'assets/diagram/*',
+ ]
+
+"kind:infra":
+ - changed-files:
+ - any-glob-to-any-file: [
+ '.asf.yaml',
+ '.gitattributes',
+ '.github/**/*',
+ '.gitignore',
+ 'LICENSE',
+ 'LICENSE-binary',
+ 'NOTICE',
+ 'NOTICE-binary',
+ 'codecov.yml',
+ 'licenses-binary'
+ ]
+
+"module:cli":
+ - changed-files:
+ - any-glob-to-any-file: [
+ 'cli/**/*'
+ ]
+
+"module:client":
+ - changed-files:
+ - any-glob-to-any-file: [
+ 'client/**/*',
+ 'client-flink/**/*',
+ 'client-mr/**/*',
+ 'client-spark/**/*',
+ 'client-tez/**/*',
+ ]
+
+"module:common":
+ - changed-files:
+ - any-glob-to-any-file: [
+ 'common/**/*'
+ ]
+
+"module:cpp":
+ - changed-files:
+ - any-glob-to-any-file: [
+ 'cpp/**/*'
+ ]
+
+"module:master":
+ - changed-files:
+ - any-glob-to-any-file: [
+ 'master/**/*'
+ ]
+
+"module:openapi":
+ - changed-files:
+ - any-glob-to-any-file: [
+ 'openapi/**/*'
+ ]
+
+"module:service":
+ - changed-files:
+ - any-glob-to-any-file: [
+ 'service/**/*'
+ ]
+
+"module:spi":
+ - changed-files:
+ - any-glob-to-any-file: [
+ 'spi/**/*'
+ ]
+
+"module:tests":
+ - changed-files:
+ - any-glob-to-any-file: [
+ 'tests/**/*',
+ 'toolkit/**/*',
+ ]
+
+"module:web":
+ - changed-files:
+ - any-glob-to-any-file: [
+ 'web/**/*'
+ ]
+
+"module:worker":
+ - changed-files:
+ - any-glob-to-any-file: [
+ 'worker/**/*'
+ ]
+
+"module:spark":
+ - changed-files:
+ - any-glob-to-any-file: [
+ 'client-spark/**/*',
+ 'assets/spark-patch/**/*',
+ ]
+
+"module:flink":
+ - changed-files:
+ - any-glob-to-any-file: [
+ 'client-flink/**/*',
+ ]
+
+"module:mr":
+ - changed-files:
+ - any-glob-to-any-file: [
+ 'client-mr/**/*',
+ ]
+
+"module:tez":
+ - changed-files:
+ - any-glob-to-any-file: [
+ 'client-tez/**/*',
+ ]
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644
index 000000000..696bbcf7a
--- /dev/null
+++ b/.github/workflows/labeler.yml
@@ -0,0 +1,33 @@
+#
+# 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
+
+jobs:
+ labeler:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ pull-requests: write
+ steps:
+ - uses: actions/labeler@v5
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ sync-labels: true