Skip to content

ci: add zizmor config exempting first-party reusables - #258

Merged
CybotTM merged 2 commits into
mainfrom
chore/add-zizmor-config
Aug 1, 2026
Merged

ci: add zizmor config exempting first-party reusables#258
CybotTM merged 2 commits into
mainfrom
chore/add-zizmor-config

Conversation

@CybotTM

@CybotTM CybotTM commented Aug 1, 2026

Copy link
Copy Markdown
Member

Adds .github/zizmor.yml, byte-identical to the shared template config in
netresearch/.github#329.

zizmor's default unpinned-uses policy is blanket hash-pin, so it flags every
netresearch/* reusable referenced @main. First-party reusables track @main
by policy so fixes propagate to all consumers without a SHA bump, so they are
exempted to ref-pin here.

Third-party actions remain hash-pin enforced — the audit is not disabled.

This repo is a template consumer (.github/template.yaml), and the shared
templates now ship this file, so it is required to keep the template drift check
green.

zizmor's default unpinned-uses policy is blanket hash-pin, which flags every
netresearch/* reusable referenced @main — including the scanner jobs added in
this PR. First-party reusables track @main by policy so fixes propagate to all
consumers, so they are exempted to ref-pin here.

Third-party actions remain hash-pin enforced. Byte-identical to the shared
template config (netresearch/.github#329).

Signed-off-by: Sebastian Mendel <github@sebastianmendel.de>
Copilot AI review requested due to automatic review settings August 1, 2026 09:52
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.
See the Details below.

License Issues

.github/workflows/zizmor.yml

PackageVersionLicenseIssue Type
netresearch/.github/.github/workflows/zizmor.ymlmainNullUnknown License

OpenSSF Scorecard

PackageVersionScoreDetails
actions/netresearch/.github/.github/workflows/zizmor.yml main UnknownUnknown

Scanned Files

  • .github/workflows/zizmor.yml

@codecov

codecov Bot commented Aug 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.70%. Comparing base (af3755a) to head (b360e07).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #258   +/-   ##
=======================================
  Coverage   74.70%   74.70%           
=======================================
  Files          10       10           
  Lines         427      427           
=======================================
  Hits          319      319           
  Misses         88       88           
  Partials       20       20           
Flag Coverage Δ
e2e 74.70% <ø> (ø)
integration 74.70% <ø> (ø)
unittests 74.70% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a repository-level zizmor configuration so the GitHub Actions security audit aligns with Netresearch policy: first-party reusable workflows may track @main (ref-pin), while third-party actions remain enforced as full-SHA pinned (hash-pin). This supports keeping the template drift check green for this template consumer repo.

Changes:

  • Add .github/zizmor.yml configuring unpinned-uses policies:
    • netresearch/*ref-pin
    • *hash-pin

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

github-actions[bot]
github-actions Bot previously approved these changes Aug 1, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval for maintainer PR

All automated quality gates passed. See SECURITY_CONTROLS.md for compensating controls.

Syncs the standalone zizmor caller workflow that the go templates ship
(netresearch/.github#327). The file was missing in this repo, which is what
the template drift check reports.

Report-only: the reusable runs in SARIF mode and uploads to code scanning;
it never fails CI. Minimal permissions (contents: read + security-events: write).

Signed-off-by: Sebastian Mendel <github@sebastianmendel.de>
@sonarqubecloud

sonarqubecloud Bot commented Aug 1, 2026

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval for maintainer PR

All automated quality gates passed. See SECURITY_CONTROLS.md for compensating controls.

@CybotTM
CybotTM added this pull request to the merge queue Aug 1, 2026
Merged via the queue into main with commit d343d89 Aug 1, 2026
28 checks passed
@CybotTM
CybotTM deleted the chore/add-zizmor-config branch August 1, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants