Skip to content

feat: add osps baseline - #20

Open
oliverbaehler wants to merge 1 commit into
mainfrom
feat/osps-workflows
Open

oliverbaehler wants to merge 1 commit into
mainfrom
feat/osps-workflows

Conversation

@oliverbaehler

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Oliver Baehler <oliver@sudo-i.net>
Copilot AI balanced review requested due to automatic review settings October 20, 2026 07:23

Copilot AI 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.

🟡 Changes recommended

The new hook blocks commits, and the publishing reference conflicts with the existing SHA-pinning check.

2 open issues
What changed in this PR

Adds OSPS Baseline assessment and publishing automation, alongside GitHub Actions security linting.

Changes:

  • Runs baseline assessments and retains results.
  • Publishes signed results to grc.store.
  • Adds zizmor checks in CI and a local autofix hook.
File Description
prek.toml Adds a zizmor commit-message hook.
.github/​workflows/​zizmor.yml Adds workflow security linting.
.github/​workflows/​osps.yml Runs baseline scans and uploads results.
.github/​workflows/​osps-publish.yml Configures scheduled and manual result publishing.

Review effort: Balanced

# Keep @v1: grc.store requires refs/tags/v1 in the OIDC signer identity.
# Do not change this tag or pin it to a commit SHA; publishing will fail.
# https://github.com/revanite-io/pvtr-publish-results#calling-it
uses: revanite-io/pvtr-publish-results/.github/workflows/publish.yml@v1 # zizmor: ignore[unpinned-uses]
Comment thread prek.toml
[[repos.hooks]]
id = "zizmor-fix"
name = "Security-lint GitHub Actions workflows with zizmor"
entry = "devbox run -- task lint:zizmor-fix"
# Keep @v1: grc.store requires refs/tags/v1 in the OIDC signer identity.
# Do not change this tag or pin it to a commit SHA; publishing will fail.
# https://github.com/revanite-io/pvtr-publish-results#calling-it
uses: revanite-io/pvtr-publish-results/.github/workflows/publish.yml@v1 # zizmor: ignore[unpinned-uses]

@Svarrogh1337 Svarrogh1337 Oct 20, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems it's not ignored by the action - https://github.com/projectcapsule/change-windows/actions/runs/39386208888/job/118506549129?pr=20#step:3:44

We need to add this to the zgosalvez/github-actions-ensure-sha-pinned-actions's allowlist

@codecov

codecov Bot commented Oct 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.25%. Comparing base (7afc217) to head (d642e91).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #20   +/-   ##
=======================================
  Coverage   70.25%   70.25%           
=======================================
  Files          16       16           
  Lines        1180     1180           
=======================================
  Hits          829      829           
  Misses        350      350           
  Partials        1        1           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants