From 68407ebe4dcae330d11a9615ce17f92c713040b6 Mon Sep 17 00:00:00 2001 From: Rishabh Singh Date: Thu, 18 Jul 2024 13:43:48 -0700 Subject: [PATCH] Update add-performance-comment.yml Signed-off-by: Rishabh Singh --- .github/workflows/add-performance-comment.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/add-performance-comment.yml b/.github/workflows/add-performance-comment.yml index 3939de25e4cbe..011a9b90519f9 100644 --- a/.github/workflows/add-performance-comment.yml +++ b/.github/workflows/add-performance-comment.yml @@ -9,13 +9,16 @@ jobs: if: github.event.label.name == 'Performance' runs-on: ubuntu-latest permissions: + id-token: write + contents: write + issues: write pull-requests: write steps: - name: Add comment to PR uses: actions/github-script@v6 with: - github-token: ${{secrets.GITHUB_TOKEN}} + github-token: ${{ secrets.GITHUB_TOKEN }} script: | github.rest.issues.createComment({ issue_number: context.issue.number,