Skip to content

Commit 0f4265d

Browse files
ci: add explicit permissions to workflow files (#6)
1 parent 6217ead commit 0f4265d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/coverage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- "main"
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
coverage:
1013
runs-on: ubuntu-latest

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
branches:
66
- "main"
7+
8+
permissions:
9+
contents: read
10+
711
jobs:
812
build_and_run_tests:
913
runs-on: "${{ matrix.os }}"

0 commit comments

Comments
 (0)