github-actions-supply-chain-pinning
Skill by asyncapi
Enforces full commit SHA pinning for GitHub Actions and exact version pinning for CLI tools installed in asyncapi/generator CI workflows. Checks workflow ownership before edits and verifies pins with a grep check. Built for contributors and reviewers editing files under .github/workflows.
Install github-actions-supply-chain-pinning
Built from the published package, never by AI.
git clone --depth 1 https://github.com/asyncapi/generator /tmp/generator && mkdir -p ~/.claude/skills && cp -r /tmp/generator/.claude/skills/github-actions-supply-chain-pinning ~/.claude/skills/github-actions-supply-chain-pinningRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install github-actions-supply-chain-pinning in Claude Code
git clone --depth 1 https://github.com/asyncapi/generator /tmp/generator && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/generator/.claude/skills/github-actions-supply-chain-pinning ~/.gemini/antigravity-cli/skills/github-actions-supply-chain-pinningAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install github-actions-supply-chain-pinning in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides changes to GitHub Actions workflow files in the asyncapi/generator repository. It applies to any edit, new workflow, or review under .github/workflows, and to CI steps that install CLI tools. Every action must be pinned to a full commit SHA with a # vX.Y.Z comment, and installed tools must use exact versions. Before editing, the skill checks whether a workflow is maintained centrally in asyncapi/.github and skips those files.
The skill uses the gh CLI to pick the latest release or highest stable tag, then resolves it to a commit SHA. Version bumps change the SHA and comment together, and a grep check flags floating refs and malformed comments. Major version upgrades and pin bumps are handled as separate changes. The skill is meant for contributors and reviewers who work on CI workflows in that repository.
Written from the project's SKILL.md and checked against it.
What it can do
- Preflight checkConfirms gh is authenticated before resolving any version or SHA.
- Ownership checkDetects workflows copied from asyncapi/.github and skips them.
- Version selectionChooses the latest release, or the highest stable tag when no release exists.
- SHA resolutionResolves a tag to its full commit SHA, dereferencing annotated tags.
- Action pinningRewrites uses lines to a 40-character SHA with a # vX.Y.Z comment.
- CLI pinningRequires exact versions for tools installed in CI steps, such as npm i -g.
- Pin bumpsChanges the SHA and comment together, with one workflow per commit.
- VerificationRuns a grep check that flags floating refs, short SHAs and malformed comments.
What you need
- GitHub CLI (gh), authenticated
- ripgrep (rg) for the ownership check
- Read access to asyncapi/.github
Try asking
- Pin the actions in this workflow to full commit SHAs.
- Review this workflow for floating refs and unpinned npm installs.
- Bump the checkout action pin and update its version comment.
Good to know
- Skips workflows maintained globally in asyncapi/.github, so changes must be made there.
- Does not check for new versions automatically; pins stay as old as the day they were written.
- CI enforcement such as zizmor or Dependabot is a possible follow-up, not part of this skill.
- Does not fix pull_request_target or workflow_run design problems; these must be flagged to the user.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/github-actions-supply-chain-pinning/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
Alternatives to github-actions-supply-chain-pinning
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
github-actions-supply-chain-pinning: common questions
Does it pin GitHub's own actions too?
Yes. The source says actions/* get no exception. Only the asyncapi/.github composite actions may use @master with //NOSONAR.
What happens to workflows maintained in asyncapi/.github?
The skill skips them and reports the skip at the end, because local changes would be overwritten. Changes belong in asyncapi/.github.
Does it update pins automatically?
No. The source says CI enforcement, such as zizmor or a Dependabot github-actions config, is a possible follow-up and not part of this skill.
How do I install github-actions-supply-chain-pinning?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is github-actions-supply-chain-pinning free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is github-actions-supply-chain-pinning safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to github-actions-supply-chain-pinning?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
