Skip to content

Commit 0cf1115

Browse files
ci: drop privileges to contents: read (#155)
Drop the `ci.yml` privileges to `contents: read` following the principle of the least privilege. Co-authored-by: Simone Basso <bassosimone@gmail.com>
1 parent 0883d9c commit 0cf1115

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

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

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
test-quality:
1215
name: Code Quality Checks

0 commit comments

Comments
 (0)