Skip to content

Commit 34b5997

Browse files
Reet00Weltraumschaf
authored andcommitted
Revert "Replace SCB-token with github token"
This reverts commit 218838e. Using the github token results since it lacks permissions to return the NodeID needed in the next step Signed-off-by: Samreet Singh <samreet.singh@iteratec.com>
1 parent 68d022c commit 34b5997

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/move-bot-pr-to-review.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ jobs:
1414
runs-on: ubuntu-22.04
1515
# only run if the branch starts with 'dependabot/' or 'dependencies/upgrading'
1616
if: startsWith(github.head_ref, 'dependabot/') || startsWith(github.head_ref, 'dependencies/upgrading')
17-
permissions:
18-
pull-requests: write
19-
repository-projects: write
20-
2117
steps:
2218
- uses: actions/checkout@v4
2319

@@ -37,7 +33,7 @@ jobs:
3733
}
3834
}" | jq -r '.data.addProjectV2ItemById.item.id') >> $GITHUB_ENV
3935
env:
40-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
GH_TOKEN: ${{ secrets.SCB_BOT_USER_TOKEN }}
4137
PR_ID: ${{ github.event.pull_request.node_id }}
4238

4339
- name: Move PR to column To Review

0 commit comments

Comments
 (0)