Skip to content

Commit 2489a3d

Browse files
authored
build: harden ci.yml permissions (#2252)
Signed-off-by: Alex <[email protected]> Signed-off-by: Alex <[email protected]>
1 parent 17346df commit 2489a3d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,15 @@ on:
1010
- main
1111
- master
1212

13+
permissions:
14+
contents: read # to fetch code (actions/checkout)
15+
1316
jobs:
1417
Tests:
18+
permissions:
19+
contents: read # to fetch code (actions/checkout)
20+
checks: write # to create new checks (coverallsapp/github-action)
21+
1522
runs-on: ubuntu-latest
1623
strategy:
1724
matrix:

0 commit comments

Comments
 (0)