Skip to content

ci: harden supply-chain monitoring#358

Merged
WalksWithASwagger merged 1 commit into
mainfrom
codex/issue-331-supply-chain-baseline
Jul 20, 2026
Merged

ci: harden supply-chain monitoring#358
WalksWithASwagger merged 1 commit into
mainfrom
codex/issue-331-supply-chain-baseline

Conversation

@WalksWithASwagger

Copy link
Copy Markdown
Owner

Closes #331

Summary

  • pin all 14 active GitHub Action references to immutable upstream release commits with release-tag comments
  • add weekly grouped Dependabot monitoring for root npm, frontend npm, pip, and GitHub Actions without auto-merge
  • add least-privilege CodeQL analysis for Python and JavaScript/TypeScript plus pull-request dependency review
  • protect pins, permissions, triggers, ecosystems, YAML parsing, and provider-free boundaries with structural tests

Acceptance Self-Check

  • Every active uses reference is a 40-character SHA with a reviewed release tag
  • Four weekly grouped Dependabot surfaces cover root npm, frontend npm, pip, and GitHub Actions
  • No auto-merge behavior or write automation was added
  • CodeQL runs for Python and JavaScript/TypeScript on pull requests, main pushes, and weekly schedule
  • Dependency Review runs on pull requests with contents: read and fails on high-severity additions
  • CodeQL has only contents: read plus the required security-events: write upload permission
  • No provider credential or deployment boundary was introduced

Action Provenance

All selected releases are upstream non-draft, non-prerelease tags, and each listed commit has a valid GitHub signature.

Gitleaks v3 is the upstream documented Node 20 to Node 24 runtime-only migration with unchanged inputs, outputs, and behavior. Existing checkout and setup action families remain on their current v6 major lines.

Verification

  • focused workflow suite: 24 passed
  • npm run verify: 561 Python tests and 7 frontend tests passed; build, portal E2E, docs, public boundary, dry-run smoke, package boundary, and doctor passed
  • npm run verify:security: all four audits passed with zero known vulnerabilities
  • all GitHub automation YAML parsed successfully
  • CodeQL default setup is not configured, so the advanced workflow does not conflict with an existing setup
  • dependency graph is live and returned a 726-package SPDX 2.3 SBOM
  • Varlock environment audit and staged secret scan passed
  • git diff checks passed and the worktree is clean

Human Checkpoint

Maintainer review of the six action provenance receipts is required before merge. Branch-protection settings remain unchanged; CodeQL and Dependency Review begin as reporting checks until a maintainer separately decides whether to require them.

@github-actions

Copy link
Copy Markdown

Agentic PR Review

Verdict: review-ready

Checks:

  • Linked issue via Closes #... or Refs #...: yes
  • Issue acceptance criteria found: 7
  • PR verification section present: yes
  • PR acceptance self-check present: yes
  • Diff within v1 limits: yes

@github-actions github-actions Bot added the review-ready Agent-created PR is ready for human review. label Jul 20, 2026
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@WalksWithASwagger WalksWithASwagger added needs-human Agentic automation stopped for human judgment. and removed review-ready Agent-created PR is ready for human review. labels Jul 20, 2026
@WalksWithASwagger WalksWithASwagger added review-ready Agent-created PR is ready for human review. and removed needs-human Agentic automation stopped for human judgment. labels Jul 20, 2026
@WalksWithASwagger
WalksWithASwagger merged commit e989b0f into main Jul 20, 2026
9 of 12 checks passed
@WalksWithASwagger
WalksWithASwagger deleted the codex/issue-331-supply-chain-baseline branch July 20, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-ready Agent-created PR is ready for human review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: pin Actions and add dependency and code-security monitoring

2 participants