Skip to content

Commit 905a8aa

Browse files
committed
gha: set default permissions to "read"
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent e3559a6 commit 905a8aa

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/test.yml

+10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
name: Test
2+
3+
# Default to 'contents: read', which grants actions to read commits.
4+
#
5+
# If any permission is set, any permission not included in the list is
6+
# implicitly set to "none".
7+
#
8+
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
9+
permissions:
10+
contents: read
11+
212
on: [push, pull_request]
313
jobs:
414
test:

0 commit comments

Comments
 (0)