Skip to content

Commit 35ad252

Browse files
[SL-ONLY] Change workflow token to use the PAT token with additionnal worklfow permissions (#230)
1 parent 9d41c14 commit 35ad252

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/silabs-update-csa.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ permissions:
66
on:
77
schedule:
88
- cron: "0 0 * * *" # Runs once a day at midnight
9+
workflow_dispatch: # Allows manual triggering of the workflow
910

1011
jobs:
1112
sync:
@@ -18,6 +19,7 @@ jobs:
1819
with:
1920
repository: SiliconLabsSoftware/matter_sdk
2021
ref: csa
22+
token: ${{ secrets.WORKFLOW_TOKEN }}
2123

2224
- name: Add CSA repository remote
2325
run:
@@ -30,5 +32,3 @@ jobs:
3032
- name: Push the update csa branch to the remote
3133
run: |
3234
git push origin csa
33-
env:
34-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)