-
Notifications
You must be signed in to change notification settings - Fork 66.8k
Expand file tree
/
Copy pathzizmor.yml
More file actions
22 lines (20 loc) · 792 Bytes
/
zizmor.yml
File metadata and controls
22 lines (20 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
rules:
# pull_request_target is required for workflows that need write access
# on PRs from forks (e.g. labeling, commenting). We audit these manually.
dangerous-triggers:
disable: true
# moda-ci uses reusable workflows (uses:) which don't support job-level
# permissions. id-token:write and attestations:write are needed by docker-image
# for attestation but can't be scoped to that job alone.
excessive-permissions:
ignore:
- moda-ci.yaml
# actions/* has immutable tags, so ref-pinning is sufficient.
# github/internal-actions is a private GitHub org repo, ref-pin is fine.
# Everything else must be hash-pinned.
unpinned-uses:
config:
policies:
'actions/*': ref-pin
'github/internal-actions/*': ref-pin
'*': hash-pin