From bbda6b1e1322c5a9b8c107a03343d18b759694c1 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Wed, 6 Nov 2024 23:43:39 +0900 Subject: [PATCH] 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 Signed-off-by: Jacob Wujciak-Jens --- .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 9e0e8ab47e102..83b6f6e31ffc3 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