Skip to content

Commit

Permalink
GH-44657: [CI][Dev] Add write permission to the crossbow comment bot (#…
Browse files Browse the repository at this point in the history
…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]>
  • Loading branch information
kou authored Nov 6, 2024
1 parent 40b2fca commit bbda6b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/comment_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bbda6b1

Please sign in to comment.