Skip to content

Commit 6f132ae

Browse files
committed
gha: set default permissions to "read" only
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 4f5b247 commit 6f132ae

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
name: ci
22

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+
312
on: [push, pull_request]
413

514
jobs:

0 commit comments

Comments
 (0)