cg-actions: mirror resolution, SHA-pinning, source-aware updates, and HTML report improvements#9
Open
tylerpaxton wants to merge 6 commits into
Open
cg-actions: mirror resolution, SHA-pinning, source-aware updates, and HTML report improvements#9tylerpaxton wants to merge 6 commits into
tylerpaxton wants to merge 6 commits into
Conversation
This was referenced Jul 1, 2026
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.
Consolidates a batch of cg-actions improvements into one reviewable PR (supersedes #3, #5, #6, #7, #8; README install already landed via #4). One commit per logical change.
Commits
check_version.pydetects whether the skill was installed via Chainguard Agent Skills (.agents/skills/…) vs GitHub and checks the matching source; falls back if one is unreachable; semver-aware compare.--pin sha|tag) — migration output now defaults to commit-SHA pins with a# vX.Y.Zcomment (GitHub Actions hardening best practice);--pin tagopts back to tags.chainguard-actions/*mirrors against an index of all public repos (case-insensitive, subpath-aware) instead of guessing two exact names. Fixes false ❌ for e.g.actions/cache/restoreandazure/cli; private/absent mirrors still correctly ❌.@v6); mixed note readsv6 → availableinstead of→ True.Verified against
tylerpaxton/cg-actions-test…@<sha> # v6.0.3);--pin taggives tags.actions/cache/restore→chainguard-actions/actions-cache(was false ❌);renovatebot/github-actionstill ❌.@v4gap vs@v6available); HTML rows expand to the per-version subtable; by-workflow rows show names.🤖 Generated with Claude Code