Skip to content

Commit f5b0217

Browse files
committed
Replace SCB-token with github token
since additional permission are not needed in this part Signed-off-by: Samreet Singh <samreet.singh@iteratec.com>
1 parent c54bf6f commit f5b0217

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ 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+
1721
steps:
1822
- uses: actions/checkout@v4
1923

@@ -33,7 +37,7 @@ jobs:
3337
}
3438
}" | jq -r '.data.addProjectV2ItemById.item.id') >> $GITHUB_ENV
3539
env:
36-
GH_TOKEN: ${{ secrets.SCB_BOT_USER_TOKEN }}
40+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3741
PR_ID: ${{ github.event.pull_request.node_id }}
3842

3943
- name: Move PR to column To Review

0 commit comments

Comments
 (0)