ci: adopt the standards' pull-request, security, CodeQL and Scorecard gates and harden the release pipeline #63

Closed
opened 2026-10-09 14:53:51 +00:00 by KofTwentyTwo · 0 comments
KofTwentyTwo commented 2026-10-09 14:53:51 +00:00 (Migrated from github.com)

Part of #62 (workstream 1).

  • Call KofTwentyTwo/standards reusable workflows: pr-gates (title, DCO, dependency review), security (gitleaks over history, Trivy + OSV-Scanner, zizmor + actionlint), codeql (security-extended, csharp + actions, gated at high), scorecard.
  • Root scanner configs (.gitleaks.toml, trivy.yaml, zizmor.yml), global.json, .pre-commit-config.yaml, PSScriptAnalyzerSettings.psd1.
  • Harden ci.yml, release.yml, nuget-updates.yml: persist-credentials: false, no caches in the release job, no ${{ }} interpolation in run:, concurrency, locked restores.
  • Release: CycloneDX SBOM per artifact (attached + attested), SHA256SUMS (renamed; channel feed hashed), LICENSE inside assets, release notes generated from Conventional Commit titles, Conventional Commit titles for generated PRs; Dependabot cooldown 7 days with the ci prefix; NuGet update script honors a cooldown.
  • The old job names (Build and test (x64), Format (style gate), Dependency review) stay until the protect-main ruleset lists the new contexts (#66); a follow-up removes them.

K22-CI-01, 12, 14, 15, 18, 20-24, 31; K22-REL-02..07; K22-DEP-20, 30; K22-REPO-01, 04.

Part of #62 (workstream 1). - Call `KofTwentyTwo/standards` reusable workflows: `pr-gates` (title, DCO, dependency review), `security` (gitleaks over history, Trivy + OSV-Scanner, zizmor + actionlint), `codeql` (security-extended, csharp + actions, gated at high), `scorecard`. - Root scanner configs (`.gitleaks.toml`, `trivy.yaml`, `zizmor.yml`), `global.json`, `.pre-commit-config.yaml`, `PSScriptAnalyzerSettings.psd1`. - Harden `ci.yml`, `release.yml`, `nuget-updates.yml`: `persist-credentials: false`, no caches in the release job, no `${{ }}` interpolation in `run:`, concurrency, locked restores. - Release: CycloneDX SBOM per artifact (attached + attested), `SHA256SUMS` (renamed; channel feed hashed), LICENSE inside assets, release notes generated from Conventional Commit titles, Conventional Commit titles for generated PRs; Dependabot cooldown 7 days with the `ci` prefix; NuGet update script honors a cooldown. - The old job names (`Build and test (x64)`, `Format (style gate)`, `Dependency review`) stay until the `protect-main` ruleset lists the new contexts (#66); a follow-up removes them. K22-CI-01, 12, 14, 15, 18, 20-24, 31; K22-REL-02..07; K22-DEP-20, 30; K22-REPO-01, 04.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KofTwentyTwo/gclo#63