From 585a35cd4c6302a90b8b763b6ad0c90856c41b85 Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Wed, 29 Oct 2025 12:08:12 +0200 Subject: [PATCH] [improve][ci] Replace PULSARBOT_TOKEN with GITHUB_TOKEN configured with GitHub Actions permissions --- .github/workflows/ci-pulsarbot.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-pulsarbot.yaml b/.github/workflows/ci-pulsarbot.yaml index e0dabac1193ea..5052eb41f1f91 100644 --- a/.github/workflows/ci-pulsarbot.yaml +++ b/.github/workflows/ci-pulsarbot.yaml @@ -22,6 +22,10 @@ on: issue_comment: types: [created] +permissions: + actions: write + contents: read + jobs: pulsarbot: runs-on: ubuntu-24.04 @@ -31,5 +35,5 @@ jobs: - name: Execute pulsarbot command id: pulsarbot env: - GITHUB_TOKEN: ${{ secrets.PULSARBOT_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} uses: apache/pulsar-test-infra/pulsarbot@master