Skip to content

ci,docs: harden workflow checkouts and inputs and sync zizmor templates - #4

Merged
lopes merged 1 commit into
mainfrom
ci/harden-security-workflow-and-templates
Nov 12, 2026
Merged

lopes merged 1 commit into
mainfrom
ci/harden-security-workflow-and-templates

Conversation

@lopes

@lopes lopes commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Description

Harden .github/workflows/security.yml following the addition of zizmor and sync repository templates with the 4-scanner pipeline:

  • Set persist-credentials: false across all six actions/checkout@v7 steps so runner tokens are not left in .git/config during scanner execution.
  • Validate gitleaks_version, opengrep_version, and zizmor_version inputs against strict SemVer (X.Y.Z) before interpolating into release download URLs.
  • Support all standard zizmor config paths (.github/zizmor.{yml,yaml}, .zizmor.{yml,yaml}, zizmor.{yml,yaml}) and run zizmor when .github/dependabot.{yml,yaml} or composite action.{yml,yaml} files exist.
  • Update CODEOWNERS, PR/issue templates, and README.md to include zizmor and .zizmor.yml.

Related Issue / Context

Follow-up hardening and template synchronization for ee6f662 and cc01f59.

Type of Change

  • Reusable Security Workflow (.github/workflows/security.yml)
  • Canonical Scanner Baselines (.gitleaks.toml, .zizmor.yml)
  • Account-Wide Security Policy (SECURITY.md)
  • Documentation & Governance (README.md, .github/)

Quality Checklist

  • Reusable workflow (security.yml) passes on this PR (gitleaks, opengrep, zizmor, trivy).
  • Scanner versions and action tags are explicitly pinned.
  • Downstream impact across caller repositories (lopes/*) reviewed.
  • Commit follows Scoped Commits convention (<scope>: <description>).

@lopes
lopes merged commit ea91bae into main Nov 12, 2026
4 checks passed
@lopes
lopes deleted the ci/harden-security-workflow-and-templates branch November 12, 2026 19:39
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.

1 participant