Skip to content

Commit d20eb2e

Browse files
authored
[improve][ci] Replace PULSARBOT_TOKEN with GITHUB_TOKEN configured with permissions (#24916)
1 parent 7a243f1 commit d20eb2e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci-pulsarbot.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ on:
2222
issue_comment:
2323
types: [created]
2424

25+
permissions:
26+
actions: write
27+
contents: read
28+
2529
jobs:
2630
pulsarbot:
2731
runs-on: ubuntu-24.04
@@ -31,5 +35,5 @@ jobs:
3135
- name: Execute pulsarbot command
3236
id: pulsarbot
3337
env:
34-
GITHUB_TOKEN: ${{ secrets.PULSARBOT_TOKEN }}
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3539
uses: apache/pulsar-test-infra/pulsarbot@master

0 commit comments

Comments
 (0)