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

github-merge-queue[bot] pushed a commit to branch 
gh-readonly-queue/main/pr-12112-f2d96279c5145c357e4faec5577a055f39693d74
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git

commit 62a3c43ff2c0a5e1d1ab7f9612823462e1374b1c
Author: Jeffrey Vo <[email protected]>
AuthorDate: Sun Nov 8 15:55:04 2026 +0000

    Move labeling to boring-cyborg bot (#12112)
    
    - Part of https://github.com/apache/arrow-rs/issues/11615
    - Needs infra to give permission first:
    https://issues.apache.org/jira/browse/INFRA-28637
    
    Move labeling to a bot to avoid dependency on `pull_request_target`
    which is being blocked
---
 .github/boring-cyborg.yml            | 60 ++++++++++++++++++++++++++
 .github/workflows/dev_pr.yml         | 20 ---------
 .github/workflows/dev_pr/labeler.yml | 83 ------------------------------------
 3 files changed, 60 insertions(+), 103 deletions(-)

diff --git a/.github/boring-cyborg.yml b/.github/boring-cyborg.yml
new file mode 100644
index 0000000000..097c710b40
--- /dev/null
+++ b/.github/boring-cyborg.yml
@@ -0,0 +1,60 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
+# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
+
+labelPRBasedOnFilePath:
+  development-process:
+    - ".github/**/*"
+    - ".config/**/*"
+    - "dev/**/*"
+
+  arrow-core:
+    - "arrow/**/*"
+    - "arrow-array/**/*"
+    - "arrow-buffer/**/*"
+    - "arrow-data/**/*"
+    - "arrow-integration-test/**/*"
+    - "arrow-integration-testing/**/*"
+    - "arrow-schema/**/*"
+
+  arrow-kernels:
+    - "arrow-arith/**/*"
+    - "arrow-cast/**/*"
+    - "arrow-select/**/*"
+    - "arrow-string/**/*"
+    - "arrow-ord/**/*"
+    - "arrow-cmp/**/*"
+
+  arrow-avro:
+    - "arrow-avro/**/*"
+
+  arrow-flight:
+    - "arrow-flight/**/*"
+
+  parquet:
+    - "parquet/**/*"
+    - "parquet_derive/**/*"
+    - "parquet_derive_test/**/*"
+    - "parquet-geospatial/**/*"
+
+  parquet-variant:
+    - "parquet-variant/**/*"
+    - "parquet-variant-compute/**/*"
+    - "parquet-variant-json/**/*"
+
+  arrow-csv:
+    - "arrow-csv/**/*"
+
+  arrow-ipc:
+    - "arrow-ipc/**/*"
+
+  arrow-json:
+    - "arrow-json/**/*"
+
+  arrow-pyarrow:
+    - "arrow-pyarrow/**/*"
+    - "arrow-pyarrow-testing/**/*"
+    - "arrow-pyarrow-integration-testing/**/*"
+
+  arrow-row:
+    - "arrow-row/**/*"
diff --git a/.github/workflows/dev_pr.yml b/.github/workflows/dev_pr.yml
index bad9a162a1..5737979220 100644
--- a/.github/workflows/dev_pr.yml
+++ b/.github/workflows/dev_pr.yml
@@ -13,31 +13,11 @@ on:
   pull_request_target:
     types:
       - opened
-      - edited
-      - synchronize
   workflow_run:
     workflows: [API changes]
     types: [completed]
 
 jobs:
-  process:
-    if: github.event_name == 'pull_request_target'
-    name: Process
-    runs-on: ubuntu-slim
-    permissions:
-      contents: read
-      pull-requests: write
-    steps:
-      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1  # 
v7.0.1
-
-      - name: Assign GitHub labels
-        if: github.event.action == 'opened' || github.event.action == 
'synchronize'
-        uses: actions/labeler@bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13  # 
v7.0.0
-        with:
-          repo-token: ${{ secrets.GITHUB_TOKEN }}
-          configuration-path: .github/workflows/dev_pr/labeler.yml
-          sync-labels: true
-
   # Copy labels from linked issue if present, to help with changelog 
generation.
   # For simplicity we just run once on open and for first linked issue; its 
trivial
   # for maintainers to fix up the label manually for more complex cases.
diff --git a/.github/workflows/dev_pr/labeler.yml 
b/.github/workflows/dev_pr/labeler.yml
deleted file mode 100644
index 67c1a9f1e8..0000000000
--- a/.github/workflows/dev_pr/labeler.yml
+++ /dev/null
@@ -1,83 +0,0 @@
-# SPDX-License-Identifier: Apache-2.0
-# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for 
additional information regarding copyright ownership
-# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements
-
-development-process:
-  - changed-files:
-    - any-glob-to-any-file:
-      - ".github/**/*"
-      - ".config/**/*"
-      - "dev/**/*"
-
-arrow-core:
-  - changed-files:
-    - any-glob-to-any-file:
-      - "arrow/**/*"
-      - "arrow-array/**/*"
-      - "arrow-buffer/**/*"
-      - "arrow-data/**/*"
-      - "arrow-integration-test/**/*"
-      - "arrow-integration-testing/**/*"
-      - "arrow-schema/**/*"
-
-arrow-kernels:
-  - changed-files:
-    - any-glob-to-any-file:
-      - "arrow-arith/**/*"
-      - "arrow-cast/**/*"
-      - "arrow-select/**/*"
-      - "arrow-string/**/*"
-      - "arrow-ord/**/*"
-      - "arrow-cmp/**/*"
-
-arrow-avro:
-  - changed-files:
-    - any-glob-to-any-file:
-      - "arrow-avro/**/*"
-
-arrow-flight:
-  - changed-files:
-    - any-glob-to-any-file:
-      - "arrow-flight/**/*"
-
-parquet:
-  - changed-files:
-    - any-glob-to-any-file:
-      - "parquet/**/*"
-      - "parquet_derive/**/*"
-      - "parquet_derive_test/**/*"
-      - "parquet-geospatial/**/*"
-
-parquet-variant:
-  - changed-files:
-    - any-glob-to-any-file:
-      - "parquet-variant/**/*"
-      - "parquet-variant-compute/**/*"
-      - "parquet-variant-json/**/*"
-
-arrow-csv:
-  - changed-files:
-    - any-glob-to-any-file:
-      - "arrow-csv/**/*"
-
-arrow-ipc:
-  - changed-files:
-    - any-glob-to-any-file:
-      - "arrow-ipc/**/*"
-
-arrow-json:
-  - changed-files:
-    - any-glob-to-any-file:
-      - "arrow-json/**/*"
-
-arrow-pyarrow:
-  - changed-files:
-    - any-glob-to-any-file:
-      - "arrow-pyarrow/**/*"
-      - "arrow-pyarrow-testing/**/*"
-      - "arrow-pyarrow-integration-testing/**/*"
-
-arrow-row:
-  - changed-files:
-    - any-glob-to-any-file:
-      - "arrow-row/**/*"

Reply via email to