Repository navigation
feat(ci): pin GitHub Actions to immutable commit SHAs - #45
Merged
Merged
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Documentation/tracking files are internally inconsistent about the completion/status of the SHA pinning work (and referenced workflows), and should be aligned before approval.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Pins all third-party GitHub Actions used by this repo’s workflows to immutable 40-character commit SHAs (with inline version comments) to improve CI/CD supply-chain integrity, and updates planning/tracking docs to reflect the work.
Changes:
- Replaced mutable action tags (e.g.,
@v4) with full commit SHAs in CI, CodeQL, and Release workflows. - Added/updated roadmap, log, and task tracking entries for the Phase 48.1 work item.
- Updated pending-features milestone focus to
v0.2.12.
File summaries
| File | Description |
|---|---|
.github/workflows/ci.yml |
Pins checkout/setup-uv/docker login/devcontainers actions to immutable SHAs. |
.github/workflows/codeql.yml |
Pins checkout + CodeQL init/analyze actions to immutable SHAs. |
.github/workflows/release.yml |
Pins checkout/setup-uv/gh-release/docker login/devcontainers actions to immutable SHAs. |
docs/LOG.md |
Adds a dated log entry documenting the action SHA pinning work. |
docs/PENDING_FEATURES.md |
Updates “Active Release Focus” to milestone v0.2.12 and lists Phase 48 items. |
docs/ROADMAP.md |
Updates roadmap items and the prioritization table (but see comments about status consistency). |
docs/agent/task.md |
Updates Phase 47.4 completion and adds Phase 48.1 WIP checklist (but see comment about PR-open subtask). |
Review details
Suppressed comments (1)
docs/ROADMAP.md:391
- The ROI/prioritization table still lists "Immutable GitHub Actions Commit SHA Pinning" as scheduled, which conflicts with the workflow changes and the log entry added in this PR. Update the status to completed so the table stays consistent.
| | Immutable GitHub Actions Commit SHA Pinning | `.github/workflows/` | High | Low | v0.2.12 | 📋 Scheduled |
- Files reviewed: 7/7 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Sep 6, 2026
Merged
dan-petty
added a commit
that referenced
this pull request
Sep 7, 2026
* feat(devcontainer): automate PR devcontainer cleanup on PR merge in GHCR (#44) * feat(devcontainer): automate PR devcontainer cleanup on PR merge in GHCR - Add GitHub Actions workflow .github/workflows/cleanup-devcontainer.yml triggered on pull_request [closed] and workflow_dispatch - Scope GHCR image pruning to pr-<number> or wildcard tags while preserving release tags (latest, v*, main) - Reclaim multi-architecture storage via delete-untagged and delete-ghost-images - Pin dataaxiom/ghcr-cleanup-action to commit SHA for supply chain security - Enhance devops_cli.commands.gh token resolution (Keyring github.token and gh auth token) and use REST API for milestones - Update agent instructions in AGENTS.md, ROUTINE_TASKS.md, docs/agent/README.md to leverage GitHub project integrations and issue tracking - Sync roadmap milestones and track Phase 47.4 deliverables Closes #39 * docs(task): update Phase 47.4 tracking with PR 44 and commit 21711bd * fix(gh): support DEVOPS_CLI_GITHUB_TOKEN and add pagination to milestone api - Address Copilot review comments on PR #44 - Check DEVOPS_CLI_GITHUB_TOKEN in _get_github_client() - Pass --paginate and per_page=100 in _get_repo_milestones() - Add regression tests in tests/test_gh_cmd.py * feat(ci): pin GitHub Actions to immutable commit SHAs (#45) * feat(ci): pin GitHub Actions to immutable commit SHAs * docs(task): update Phase 48.1 tracking with PR 45 * docs(roadmap): update action SHA pinning status to completed * docs(task): record Copilot review resolution on PR 45 * feat(security): isolate subprocess environment and enforce credential boundary (#46) * feat(security): isolate subprocess environment and enforce credential boundary * fix(security): normalize env var key case for cross-platform matching and ensure test determinism * docs(task): update Phase 48.2 tracking with PR #46 and Copilot review resolution * feat(k8s): cluster default-deny NetworkPolicies for monitoring and argocd namespaces (#47) * feat(k8s): cluster default-deny NetworkPolicies for monitoring and argocd namespaces * fix(k8s): address Copilot review on NetworkPolicy ingress comments, API server egress selector, and test assertions * docs(task): record PR #47 and Copilot review remediation in Phase 48.3 tracking * feat(security): qdrant vector database api key secret protection and clusterip default (#48) * feat(security): qdrant vector database api key secret protection and clusterip default * fix(review): address Copilot findings for stdin secret apply, fail-fast lifecycle, and debug logging * docs(agent): update task tracking for PR #48 and Copilot review resolutions * docs(agent): record Phase 48.4 PR #48 squash-merge and issue #43 closure * feat(review): review finding remediation, github project automation, and runtime duration formatting (#49) * refactor(review): address session 164259 findings and harden self-improvement loop * docs(agent): mark Phase 48.5 task completed and PR 49 verified * feat(github): remote project sync, automated milestone closure, and submodule test grouping * feat(devcontainer): enhance mcp lifecycle sync and enforce commit message hygiene * feat(output): format command elapsed duration in human readable units Upgrade format_duration to support microsecond, millisecond, second, minute, hour, and day formatting across CLI command completion, CI summaries, AI reviews, and benchmarks. * refactor(github): omit status from milestone description Ensure milestone descriptions extracted from roadmap use strictly the feature name without appending status strings in parentheses. * feat(valkey): valkey workstation caching, rate limiting, and v0.2.12 release preparation - Implement pure-Python RESP2/RESP3 encoder and stream parser without C dependencies - Add TCP socket client (ValkeyClient) with connection pooling, timeouts, and zero-trust SSRF validation - Implement atomic token bucket rate limiter with embedded Lua script - Implement distributed AI cache provider (ValkeyCacheProvider) for embeddings and review findings - Implement devops valkey CLI command group (ping, info, stats, keys, get, set, flush, backup, cli) - Register 6 FastMCP Valkey tools and dynamic system resource resource://valkey/status - Bump package version to 0.2.12 and synchronize release documentation - Pass all 10 devops ci quality gates with 95% test coverage * docs(agents): codify strict release PR title convention feat(release): v<version> * fix(review): remediate pull request review findings across valkey, output, and github subsystems
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves #42 by pinning all third-party GitHub Actions across
.github/workflows/to full 40-character immutable commit SHAs with inline version comments.Changes
.github/workflows/ci.yml:actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1(# v7)astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d(# v10.0.1)docker/login-action@dbcb813823bdd20940b903addbd779551569679f(# v4)devcontainers/ci@513af61f4de4f75d37e4438f184ba4358f0fc1ca(# v0.3).github/workflows/codeql.yml:actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1(# v7)github/codeql-action/init@cdf488f595d80d6e07e03d4674febd5ab45fa938(# v4)github/codeql-action/analyze@cdf488f595d80d6e07e03d4674febd5ab45fa938(# v4).github/workflows/release.yml:actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1(# v7)astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d(# v10.0.1)softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64(# v3)docker/login-action@dbcb813823bdd20940b903addbd779551569679f(# v4)devcontainers/ci@513af61f4de4f75d37e4438f184ba4358f0fc1ca(# v0.3)docs/LOG.md,docs/ROADMAP.md,docs/PENDING_FEATURES.md, anddocs/agent/task.md.Verification
uv run actionlint: Clean pass, zero errors or warnings.uv run devops ci: 10/10 quality gates passed cleanly.Closes #42