Commit 93887fe
fix: restrict GITHUB_TOKEN to contents: read in sync workflow
The GITHUB_TOKEN previously inherited org-wide default permissions.
Since the workflow only uses GitHub App credentials for the sync and
GITHUB_TOKEN is only needed for the two actions/checkout steps,
restrict it to contents: read.
Closes #31 parent 93595c2 commit 93887fe
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
0 commit comments