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

ayushsaxena pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new c04a17f1160 HADOOP-18823. Add Labeler Github Action. (#5874). 
Contributed by Ayush Saxena.
c04a17f1160 is described below

commit c04a17f1160e3dedcdf294d09f878136af75172a
Author: Ayush Saxena <ayushsax...@apache.org>
AuthorDate: Tue Jul 25 03:04:49 2023 +0530

    HADOOP-18823. Add Labeler Github Action. (#5874). Contributed by Ayush 
Saxena.
    
    Reviewed-by: He Xiaoqiao <hexiaoq...@apache.org>
---
 .github/labeler.yml           | 57 +++++++++++++++++++++++++++++++++++++++++++
 .github/workflows/labeler.yml | 40 ++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+)

diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100755
index 00000000000..a3fa437e0de
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,57 @@
+#
+#
+# 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
+
+trunk:
+  - '**'
+INFRA:
+  - .asf.yaml
+  - .gitattributes
+  - .gitignore
+  - .github/**
+  - dev-support/**
+  - start-build-env.sh
+BUILD:
+  - '**/pom.xml'
+COMMON:
+  - hadoop-common-project/**
+HDFS:
+  - hadoop-hdfs-project/**
+RBF:
+  - hadoop-hdfs-project/hadoop-hdfs-rbf/**
+NATIVE:
+  - hadoop-hdfs-project/hadoop-hdfs-native-client/**
+  - hadoop-common-project/hadoop-common/src/main/native/**
+YARN:
+  - hadoop-yarn-project/**
+MAPREDUCE:
+  - hadoop-mapreduce-project/**
+DISTCP:
+  - hadoop-tools/hadoop-distcp/**
+TOOLS:
+  - hadoop-tools/**
+AWS:
+  - hadoop-tools/hadoop-aws/**
+ABFS:
+  - hadoop-tools/hadoop-azure/**
+DYNAMOMETER:
+  - hadoop-tools/hadoop-dynamometer/**
+MAVEN-PLUGINS:
+  - hadoop-maven-plugins/**
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644
index 00000000000..f85aff05dda
--- /dev/null
+++ b/.github/workflows/labeler.yml
@@ -0,0 +1,40 @@
+#
+# 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/checkout@v3
+        with:
+          sparse-checkout: |
+            .github
+      - uses: actions/labeler@v4.3.0
+        with:
+          repo-token: ${{ secrets.GITHUB_TOKEN }}
+          sync-labels: true
+          configuration-path: .github/labeler.yml
+          dot: true
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to