Skip to content

Commit 723bb09

Browse files
authored
ci: set permission to read
1 parent 5fa4cbc commit 723bb09

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
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
unittest:
1013
runs-on: ubuntu-latest
@@ -62,4 +65,4 @@ jobs:
6265
run: |
6366
pip install coverage
6467
coverage run -m unittest tests/*.py
65-
coverage report -m --fail-under=60
68+
coverage report -m --fail-under=60

0 commit comments

Comments
 (0)