Skip to content

Commit d7a7b3b

Browse files
committed
Specify explicit contents: read workflow permissions
This change is analogous to gitpython-developers/GitPython#2033. See also gitpython-developers/smmap#60.
1 parent f36c0cc commit d7a7b3b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ name: Python package
55

66
on: [push, pull_request, workflow_dispatch]
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
build:
1013

0 commit comments

Comments
 (0)