Skip to content

Commit c941ee6

Browse files
[SL-ONLY] Use workflow token to trigger CI with additionnal permissions (#242)
1 parent be6907e commit c941ee6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/silabs-open-csa-pr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
echo "pr_needs_reopen=false" >> $GITHUB_OUTPUT
5757
fi
5858
env:
59-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
59+
GITHUB_TOKEN: ${{secrets.WORKFLOW_TOKEN}}
6060

6161
- name: Close and Reopen PR
6262
if: ${{ steps.check_pr.outputs.pr_needs_reopen }}
@@ -66,4 +66,4 @@ jobs:
6666
gh pr reopen $PR_NUMBER --repo ${{ github.repository }}
6767
gh pr edit $PR_NUMBER --add-label "sl-automation-triggered"
6868
env:
69-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
69+
GITHUB_TOKEN: ${{secrets.WORKFLOW_TOKEN}}

0 commit comments

Comments
 (0)