Skip to content

Commit 882df07

Browse files
tashianclaude
andcommitted
Replace zizmor line-number ignores with policies
Use unpinned-uses config.policies with org-level wildcard and secrets-inherit disable instead of brittle per-line ignores that break whenever workflow files change. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 26f4c62 commit 882df07

File tree

1 file changed

+5
-38
lines changed

1 file changed

+5
-38
lines changed

.github/zizmor.yml

Lines changed: 5 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,10 @@
11
rules:
2-
# Internal reusable workflows (smallstep/*@main) intentionally track
3-
# the main branch for centralized CI management. Pinning to a SHA
4-
# would defeat the purpose of the shared workflows repo.
52
unpinned-uses:
6-
ignore:
7-
- actionlint.yml:16
8-
- ci.yml:25
9-
- code-scan-cron.yml:7
10-
- dependabot-auto-merge.yml:10
11-
- frizbee.yml:15
12-
- release.yml:11
13-
- release.yml:80
14-
- release.yml:89
15-
- release.yml:103
16-
- release.yml:117
17-
- release.yml:131
18-
- triage.yml:19
19-
- zizmor.yml:15
20-
# Reusable workflow callers require `secrets: inherit` to pass
21-
# credentials needed by the shared workflows (e.g. SSH keys, PATs).
3+
config:
4+
policies:
5+
"smallstep/*": ref-pin
226
secrets-inherit:
23-
ignore:
24-
- actionlint.yml:16
25-
- ci.yml:25
26-
- dependabot-auto-merge.yml:10
27-
- frizbee.yml:15
28-
- release.yml:11
29-
- release.yml:80
30-
- release.yml:89
31-
- release.yml:103
32-
- release.yml:117
33-
- release.yml:131
34-
- triage.yml:19
35-
- zizmor.yml:15
36-
# The triage workflow uses `pull_request_target` to label PRs
37-
# from forks. This is safe because the called reusable workflow
38-
# does not checkout or execute code from the PR.
7+
disable: true
398
dangerous-triggers:
409
ignore:
41-
- triage.yml:3
42-
43-
10+
- triage.yml

0 commit comments

Comments
 (0)