From 1c884b226059cdc3db2050392a1d7bb02c5f6394 Mon Sep 17 00:00:00 2001 From: Gold856 <117957790+Gold856@users.noreply.github.com> Date: Fri, 7 Jun 2024 19:15:30 -0400 Subject: [PATCH] [ci] Use the comment command token for robotpy comment action (#6711) --- .github/workflows/command-robotpy-pr.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/command-robotpy-pr.yml b/.github/workflows/command-robotpy-pr.yml index d40162d27d..10d49cf675 100644 --- a/.github/workflows/command-robotpy-pr.yml +++ b/.github/workflows/command-robotpy-pr.yml @@ -9,15 +9,12 @@ on: jobs: comment: - permissions: - issues: write - pull-requests: write - runs-on: ubuntu-latest steps: - name: Comment on PR uses: actions/github-script@v7 with: + github-token: ${{ secrets.COMMENT_COMMAND_PAT_TOKEN }} script: | github.rest.issues.createComment({ issue_number: context.issue.number,