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

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


The following commit(s) were added to refs/heads/main by this push:
     new bbda6b1e13 GH-44657: [CI][Dev] Add write permission to the crossbow 
comment bot (#44658)
bbda6b1e13 is described below

commit bbda6b1e1322c5a9b8c107a03343d18b759694c1
Author: Sutou Kouhei <[email protected]>
AuthorDate: Wed Nov 6 23:43:39 2024 +0900

    GH-44657: [CI][Dev] Add write permission to the crossbow comment bot 
(#44658)
    
    ### Rationale for this change
    
    It needs to write a comment to the target PR.
    
    ### What changes are included in this PR?
    
    Add write permission to only the crossbow comment bot.
    
    ### Are these changes tested?
    
    No.
    
    ### Are there any user-facing changes?
    
    No.
    * GitHub Issue: #44657
    
    Authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Jacob Wujciak-Jens <[email protected]>
---
 .github/workflows/comment_bot.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/comment_bot.yml 
b/.github/workflows/comment_bot.yml
index 9e0e8ab47e..83b6f6e31f 100644
--- a/.github/workflows/comment_bot.yml
+++ b/.github/workflows/comment_bot.yml
@@ -32,6 +32,8 @@ jobs:
     name: Listen!
     if: startsWith(github.event.comment.body, '@github-actions crossbow')
     runs-on: ubuntu-latest
+    permissions:
+      pull-requests: write
     steps:
       - name: Checkout Arrow
         uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # 
v4.0.0

Reply via email to