]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
ci: Add zizmor config file 3484/head
authorBen Darnell <ben@bendarnell.com>
Tue, 22 Apr 2025 19:07:23 +0000 (15:07 -0400)
committerBen Darnell <ben@bendarnell.com>
Tue, 22 Apr 2025 19:16:32 +0000 (15:16 -0400)
This restores behavior of version 1.5.2 to be more lenient for
pypa and astral-sh repos.

.github/zizmor.yml [new file with mode: 0644]

diff --git a/.github/zizmor.yml b/.github/zizmor.yml
new file mode 100644 (file)
index 0000000..a71e19f
--- /dev/null
@@ -0,0 +1,14 @@
+rules:
+  unpinned-uses:
+    config:
+      policies:
+        # Allow trusted repositories to use ref-pinning instead of hash-pinning.
+        #
+        # Defaults, from 
+        # https://github.com/woodruffw/zizmor/blob/7b4e76e94be2f4d7b455664ba5252b2b4458b91d/src/audit/unpinned_uses.rs#L172-L193
+        actions/*: ref-pin
+        github/*: ref-pin
+        dependabot/*: ref-pin
+        # Additional trusted repositories
+        pypa/*: ref-pin
+        astral-sh/setup-uv: ref-pin
\ No newline at end of file