Skip to content

Commit 86c2148

Browse files
committed
build: harden test.yml permissions
Signed-off-by: Alex <[email protected]>
1 parent ca76a47 commit 86c2148

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches: [main]
88

9+
permissions:
10+
contents: read # to fetch code (actions/checkout)
11+
912
jobs:
1013
lint:
1114
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)