ci: add CodeQL, Release Please, and dependency age check#30
ci: add CodeQL, Release Please, and dependency age check#30justin-layerv wants to merge 3 commits into
Conversation
Code Review: CI Workflows (CodeQL, Release Please, Dependency Age Check)Overall this is a well-structured PR that adds meaningful security and release infrastructure. The workflows follow good practices — pinned action SHAs, least-privilege permissions, timeouts, and concurrency controls. Below are specific observations and suggestions. codeql.yml — Looks GoodStrengths:
Minor nit:
release-please.yml — Looks GoodClean and minimal. No issues here. The defaults are appropriate for a single-module Go project. One consideration:
dependency-age-check.yml — Good Concept, A Few Hardening SuggestionsThis is the most complex workflow and where I have the most feedback. The 7-day quarantine on new Go modules is a solid supply-chain defense. Strengths:
Suggestions:
Security Considerations
Test CoverageThese are CI workflow files, so traditional unit tests don't apply. However, it would be worth validating the dependency-age-check script on a test PR that adds a known-old dependency and a known-new dependency to confirm both paths (pass and fail) work as expected before merging. The shell script has enough logic that a manual dry run would build confidence. SummaryThis is a solid PR. The workflows are well-configured and follow security best practices. The dependency age check is the most novel addition and would benefit from the retry logic and proxy error differentiation mentioned above, but none of the suggestions are blockers. Nice work aligning with the NHP repo security baseline. |
PR Review: ci: add CodeQL, Release Please, and dependency age checkOverall this is a solid PR that adds three well-structured CI/CD workflows for security scanning, supply chain protection, and automated release management. The code quality is high — nice work. Here's detailed feedback:
|
| Workflow | Verdict |
|---|---|
codeql.yml |
Approve as-is |
dependency-age-check.yml |
Approve — optional curl retry improvement |
release-please.yml |
Approve as-is |
This PR aligns well with security baselines. The workflows are well-structured, secure, and production-ready. Ship it.
Code Review: CI Workflow AdditionsGood PR — well-structured workflows with solid security defaults. The SHA-pinned actions, least-privilege permissions, and job timeouts across all three files are exactly right. Here's detailed feedback:
|
Summary
Aligns with NHP repo security baseline.
🤖 Generated with Claude Code