Skip to content

Commit 363fc49

Browse files
authored
Merge pull request #3484 from bdarnell/zizmor-config
ci: Add zizmor config file
2 parents 5b349e5 + 9683665 commit 363fc49

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/zizmor.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
rules:
2+
unpinned-uses:
3+
config:
4+
policies:
5+
# Allow trusted repositories to use ref-pinning instead of hash-pinning.
6+
#
7+
# Defaults, from
8+
# https://github.com/woodruffw/zizmor/blob/7b4e76e94be2f4d7b455664ba5252b2b4458b91d/src/audit/unpinned_uses.rs#L172-L193
9+
actions/*: ref-pin
10+
github/*: ref-pin
11+
dependabot/*: ref-pin
12+
# Additional trusted repositories
13+
pypa/*: ref-pin
14+
astral-sh/setup-uv: ref-pin

0 commit comments

Comments
 (0)