You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2020/10/29 16:31:32 UTC

[iceberg] branch master updated: Build: Move PR labeler to GitHub action (#1686)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 6913497  Build: Move PR labeler to GitHub action (#1686)
6913497 is described below

commit 69134975af222956a6cdb091aa8012fe3d6c5838
Author: Kyle Bendickson <98...@users.noreply.github.com>
AuthorDate: Thu Oct 29 09:31:23 2020 -0700

    Build: Move PR labeler to GitHub action (#1686)
---
 .github/autolabeler.yml       | 84 -------------------------------------------
 .github/labeler.yml           | 73 +++++++++++++++++++++++++++++++++++++
 .github/workflows/labeler.yml | 30 ++++++++++++++++
 3 files changed, 103 insertions(+), 84 deletions(-)

diff --git a/.github/autolabeler.yml b/.github/autolabeler.yml
deleted file mode 100644
index 71badac..0000000
--- a/.github/autolabeler.yml
+++ /dev/null
@@ -1,84 +0,0 @@
-#
-# 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.
-#
-
-# The following paragraph was taken from the Apache Spark project.
-#   see: https://github.com/apache/spark/blob/master/.github/autolabeler.yml
-#
-# Bot page: https://github.com/apps/probot-autolabeler
-# The matching patterns follow the .gitignore spec.
-# See: https://git-scm.com/docs/gitignore#_pattern_format
-# Also, note that the plugin uses 'ignore' package. See also
-# https://github.com/kaelzhang/node-ignore
-INFRA:
-  - "/.baseline"
-  - "/.github"
-  - "/dev"
-  - ".asf.yaml"
-  - ".gitattributes"
-  - ".gitignore"
-  - "baseline.gradle"
-  - "deploy.gradle"
-  - "jitpack.yml"
-  - "travis.yml"
-BUILD:
-  - "*gradle*"
-  - "versions.props"
-DOCS:
-  - "/site"
-  - "**CHANGELOG.md"
-  - "**README.md"
-LICENSE:
-  - "**LICENSE"
-  - "**NOTICE"
-EXAMPLES:
-  - "/examples"
-COMMON:
-  - "/common"
-API:
-  - "/api"
-CORE:
-  - "/core"
-PYTHON:
-  - "/python"
-PARQUET:
-  - "/parquet"
-ARROW:
-  - "/arrow"
-ORC:
-  - "/orc"
-HIVE:
-  - "/hive3"
-  - "/hive-metastore"
-  - "/hive-runtime"
-DATA:
-  - "/data"
-SPARK:
-  - "/spark-runtime"
-  - "/spark3-runtime"
-  - "/spark"
-  - "/spark2"
-  - "/spark3"
-FLINK:
-  - "/flink-runtime"
-  - "/flink"
-MR:
-  - "/mr"
-PIG:
-  - "/pig"
-
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 0000000..01ecf31
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,73 @@
+#
+# 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
+INFRA:
+  - .asf.yaml
+  - .gitattributes
+  - .gitignore
+  - baseline.gradle
+  - deploy.gradle
+  - jitpack.yml
+  - travis.yml
+  - .baseline/**/*
+  - .github/**/*
+  - dev/**/*
+BUILD:
+  - "**/*gradle*"
+  - versions.props
+DOCS:
+  - site/**/*
+  - "**/*CHANGELOG.md"
+  - "**/*README.md"
+EXAMPLES:
+  - examples/**/*
+COMMON:
+  - common/**/*
+API:
+  - api/**/*
+CORE:
+  - core/**/*
+PYTHON:
+  - python/**/*
+PARQUET:
+  - parquet/**/*
+ARROW:
+  - arrow/**/*
+ORC:
+  - orc/**/*
+HIVE:
+  - hive3/**/*
+  - hive-metastore/**/*
+  - hive-runtime/**/*
+DATA:
+  - data/**/*
+SPARK:
+  - spark-runtime/**/*
+  - spark3-runtime/**/*
+  - spark/**/*
+  - spark2/**/*
+  - spark3/**/*
+FLINK:
+  - flink-runtime/**/*
+  - flink/**/*
+MR:
+  - mr/**/*
+PIG:
+  - pig/**/*
+
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644
index 0000000..bbaefb2
--- /dev/null
+++ b/.github/workflows/labeler.yml
@@ -0,0 +1,30 @@
+#
+# 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]
+
+jobs:
+  triage:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/labeler@v2
+      with:
+        repo-token: "${{ secrets.GITHUB_TOKEN }}"
+        sync-labels: true