From 084c06299f0a924d6f17aad353adaf766f4ae85e Mon Sep 17 00:00:00 2001 From: Samreet Singh Date: Thu, 16 Jan 2025 13:56:39 +0100 Subject: [PATCH] Revert "Replace SCB-token with github token" This reverts commit 218838eddbc666608c6d1361154f76333fdc2088. Using the github token results since it lacks permissions to return the NodeID needed in the next step Signed-off-by: Samreet Singh --- .github/workflows/move-bot-pr-to-review.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/move-bot-pr-to-review.yaml b/.github/workflows/move-bot-pr-to-review.yaml index 8fbd3b26a4..4d565abcb2 100644 --- a/.github/workflows/move-bot-pr-to-review.yaml +++ b/.github/workflows/move-bot-pr-to-review.yaml @@ -14,10 +14,6 @@ jobs: runs-on: ubuntu-22.04 # only run if the branch starts with 'dependabot/' or 'dependencies/upgrading' if: startsWith(github.head_ref, 'dependabot/') || startsWith(github.head_ref, 'dependencies/upgrading') - permissions: - pull-requests: write - repository-projects: write - steps: - uses: actions/checkout@v4 @@ -37,7 +33,7 @@ jobs: } }" | jq -r '.data.addProjectV2ItemById.item.id') >> $GITHUB_ENV env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.SCB_BOT_USER_TOKEN }} PR_ID: ${{ github.event.pull_request.node_id }} - name: Move PR to column To Review