Skip to content

Commit 3266547

Browse files
committed
Use minimal contents:read permissions in CI workflow
Fixes zizmor excessive-permissions finding on ci.yaml; this workflow only needs repository read access.
1 parent b84610d commit 3266547

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ concurrency:
5656
cancel-in-progress: true
5757
group: ${{github.workflow}}-${{github.event.pull_request.number||github.ref}}
5858

59-
permissions: read-all
59+
permissions:
60+
contents: read
6061

6162
jobs:
6263
python-checks:

0 commit comments

Comments
 (0)