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

jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-java.git


The following commit(s) were added to refs/heads/main by this push:
     new 11a77a660 MINOR: Add AI guidance and PR limit (#1392)
11a77a660 is described below

commit 11a77a660a41d035900b6250e5bef70ad189d4ea
Author: David Li <[email protected]>
AuthorDate: Sun Oct 25 23:28:37 2026 -0700

    MINOR: Add AI guidance and PR limit (#1392)
---
 .asf.yaml                         |  4 ++++
 .github/workflows/comment_bot.yml | 42 ---------------------------------------
 AGENTS.md                         | 23 +++++++++++++++++++++
 CONTRIBUTING.md                   |  3 +++
 4 files changed, 30 insertions(+), 42 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 13bd59c22..10a014236 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -34,6 +34,10 @@ github:
   protected_branches:
     main:
       required_linear_history: true
+  pull_requests:
+    creation_cap:
+      enabled: true
+      max_open_pull_requests: 2
 notifications:
   commits: [email protected]
   discussions: [email protected]
diff --git a/.github/workflows/comment_bot.yml 
b/.github/workflows/comment_bot.yml
deleted file mode 100644
index 507d6a969..000000000
--- a/.github/workflows/comment_bot.yml
+++ /dev/null
@@ -1,42 +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.
-
-name: Comment Bot
-on:
-  issue_comment:
-    types:
-      - created
-      - edited
-jobs:
-  issue_assign:
-    name: "Assign issue"
-    permissions:
-      contents: read
-      issues: write
-    if: github.event.comment.body == 'take'
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/github-script@v9
-        with:
-          github-token: ${{ secrets.GITHUB_TOKEN }}
-          script: |-
-            github.rest.issues.addAssignees({
-                owner: context.repo.owner,
-                repo: context.repo.repo,
-                issue_number: context.payload.issue.number,
-                assignees: context.payload.comment.user.login
-            });
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 000000000..b31518f3d
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,23 @@
+<!---
+  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.
+-->
+
+# AGENTS.md
+
+You must follow the guidance around pull requests and commits in
[email protected].
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 680750070..3cd33d4f9 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -19,6 +19,9 @@
 
 # How to contribute to Apache Arrow Java
 
+Please see general guidance about commits, pull requests, and AI usage for the
+Apache Arrow project: 
https://arrow.apache.org/docs/dev/developers/overview.html
+
 ## Did you find a bug?
 
 The Arrow Java project uses GitHub as a bug tracker.  To report a bug, sign in

Reply via email to