Skip to content

Commit de37048

Browse files
committed
chore: reduce write permissions in CI workflow
1 parent 412df33 commit de37048

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: test
33
permissions:
4-
contents: write
4+
contents: read
55

66
on:
77
push:
@@ -143,8 +143,6 @@ jobs:
143143
- 'tests/test_serial.py::test_install_clean[default]'
144144
- 'tests/test_serial.py::test_install_clean[on-request]'
145145
- 'tests/test_serial.py::test_install_clean[top-packages]'
146-
permissions:
147-
contents: write
148146
runs-on: macos-latest
149147
steps:
150148
- name: Set up Homebrew

0 commit comments

Comments
 (0)