Skip to content

Commit 029f25e

Browse files
committed
security: set default workflow permissions to read-all
The sync workflow should explicitly define the permissions write on contents Closes #8 Signed-off-by: Jonathan Gonzalez V. <[email protected]>
1 parent 39001b3 commit 029f25e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/sync.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
repository_dispatch:
1111
types: [ sync-api ]
1212

13+
permissions: read-all
14+
1315
jobs:
1416
sync:
1517
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)