-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathzizmor.yml
More file actions
43 lines (43 loc) · 2.33 KB
/
Copy pathzizmor.yml
File metadata and controls
43 lines (43 loc) · 2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# zizmor configuration: https://docs.zizmor.sh/configuration/
#
# Each entry below is a finding that was reviewed and accepted as intentional,
# with the technical reason recorded here rather than only in a commit message.
# Composite-action findings (actions/*/action.yml) cannot be ignored through this
# file - see the inline `# zizmor: ignore[...]` comments in those files instead.
#
# Entries are LINE-ANCHORED: adding or removing steps in a workflow shifts the lines below and
# the ignore stops matching, so the accepted finding resurfaces. Re-point the numbers in the
# same change that moves the step. The lint fails rather than passing quietly, so this is
# fail-closed - but the error names the finding, not the stale anchor.
rules:
unpinned-uses:
ignore:
# slsa-framework/slsa-github-generator MUST be pinned to a full @vX.Y.Z tag,
# not a commit SHA: slsa-verifier validates the workflow_ref recorded in the
# provenance attestation against the trusted builder's published tag, so a
# SHA pin would make the resulting attestation unverifiable. Documented
# in-line at the `uses:` line itself (build.yml, provenance job).
- build.yml:269
cache-poisoning:
ignore:
# actions/setup-node's `cache: pnpm` restores the pnpm store from the
# standard actions/cache backend. It caches only the pnpm content-addressed
# store, not build outputs, and every restored package is re-verified by
# pnpm's integrity checks against the lockfile on install - a poisoned
# cache entry would fail installation rather than silently execute.
- build.yml:63
- publish-library.yml:46
# The generated-grammar and external-corpus cache steps are gated with
# `if: !startsWith(github.ref, 'refs/tags/')`, so release-tag runs (the
# ones that publish artifacts) never restore cached state; zizmor's audit
# does not credit step-level ref conditionals.
- build.yml:79
- build.yml:92
superfluous-actions:
ignore:
# softprops/action-gh-release predates and provides a strictly richer
# interface than `gh release` for this workflow's needs (structured
# `files:` glob input, `fail_on_unmatched_files`, templated `name:`) without
# a hand-rolled script. Keeping the action is a readability tradeoff, not
# an oversight.
- build.yml:207