From a5ac045271e446b87ce323df5ca02960670de8c0 Mon Sep 17 00:00:00 2001 From: Nic Crane Date: Tue, 8 Sep 2026 11:18:41 +0100 Subject: [PATCH 1/2] Only assign unassigned issues and rephrase docs --- .github/workflows/comment_bot.yml | 4 +++- CONTRIBUTING.md | 2 +- docs/source/developers/bug_reports.rst | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/comment_bot.yml b/.github/workflows/comment_bot.yml index ceff6c41d21a..280c496964c4 100644 --- a/.github/workflows/comment_bot.yml +++ b/.github/workflows/comment_bot.yml @@ -61,7 +61,9 @@ jobs: name: "Assign issue" permissions: issues: write - if: github.event.comment.body == 'take' + if: | + github.event.comment.body == 'take' && + github.event.issue.assignee == null runs-on: ubuntu-latest steps: - uses: actions/github-script@v9 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f23c18f326b0..2bb7669638bf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,7 +25,7 @@ The Arrow project uses GitHub as a bug tracker. To report a bug, sign in to your GitHub account, navigate to [GitHub issues](https://github.com/apache/arrow/issues) and click on **New issue** . -To be assigned to an issue, add a comment "take" to that issue. +To be assigned to an unassigned issue, add a comment "take" to that issue. Before you create a new bug entry, we recommend you first search among existing Arrow issues in diff --git a/docs/source/developers/bug_reports.rst b/docs/source/developers/bug_reports.rst index 307261617acc..e1c8e769ba8e 100644 --- a/docs/source/developers/bug_reports.rst +++ b/docs/source/developers/bug_reports.rst @@ -243,5 +243,5 @@ Issue assignment ++++++++++++++++ Assignment signals commitment to work on an issue, and contributors should -self-assign issues when that work starts. Anyone can now self-assign issues -by commenting ``take``. +self-assign issues when that work starts. Anyone can self-assign an +unassigned issue by commenting ``take``. From 3d03aab941b51cfc975177363b1155a32635ca7c Mon Sep 17 00:00:00 2001 From: Nic Crane Date: Tue, 8 Sep 2026 11:27:02 +0100 Subject: [PATCH 2/2] Update conditions for comment bot workflow Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .github/workflows/comment_bot.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/comment_bot.yml b/.github/workflows/comment_bot.yml index 280c496964c4..8816ba7d078d 100644 --- a/.github/workflows/comment_bot.yml +++ b/.github/workflows/comment_bot.yml @@ -63,6 +63,7 @@ jobs: issues: write if: | github.event.comment.body == 'take' && + github.event.issue.pull_request == null && github.event.issue.assignee == null runs-on: ubuntu-latest steps: