Works with the AI Agents you already use
GitHub Actions Pinning and Dependabot Setup
by Saizul Amin
This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice.
$4
GitHub Actions Pinning and Dependabot Setup
Example session with this skill installed
Run the GitHub Actions Pinning and Dependabot Setup skill on my project and give me a prioritised list of what to fix, with exact changes.
- Read your context and instructions
- Compiled the github actions pinning
Here is what the GitHub Actions Pinning and Dependabot Setup skill produced.
Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.
Output
#!/bin/sh
# Builds pins.txt (owner/repo@ref sha) with git ls-remote. Review, then run: sh resolve-pins.sh
# Annotated tags are peeled (^{}) so the SHA is the commit, not the tag object.
set -eu
: > pins.txt
sha=$(git ls-remote https://github.com/acme/ci 'refs/tags/v2^{}' 'refs/tags/v2' 'refs/heads/v2' | awk 'NR==1{s=$1} /\^\{\}$/{s=$1} END{print s}')
[ -n "$sha" ] && echo "acme/ci@v2 $sha" >> pins.txt || echo "not found: acme/ci@v2" >&2
sha=$(git ls-remote https://github.com/actions/checkout 'refs/tags/v7^{}' 'refs/tags/v7' 'refs/heads/v7' | awk 'NR==1{s=$1} /\^\{\}$/{s=$1} END{print s}')
[ -n "$sha" ] && echo "actions/checkout@v7 $sha" >> pins.txt || echo "not found: actions/checkout@v7" >&2
sha=$(git ls-remote https://github.com/actions/setup-node 'refs/tags/v7^{}' 'refs/tags/v7' 'refs/heads/v7' | awk 'NR==1{s=$1} /\^\{\}$/{s=$1} END{print s}')
[ -n "$sha" ] && echo "actions/setup-node@v7 $sha" >> pins.txt || echo "not found: actions/setup-node@v7" >&2
sha=$(git ls-remote https://github.com/some-org/unknown-action 'refs/tags/v1^{}' 'refs/tags/v1' 'refs/heads/v1' | awk 'NR==1{s=$1} /\^\{\}$/{s=$1} END{print s}')
[ -n "$sha" ] && echo "some-org/unknown-action@v1 $sha" >> pins.txt || echo "not found: some-org/unknown-action@v1" >&2
What you do next
- Fix the highest-severity items first.
- Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
- Keep the skill installed and re-run it whenever the project changes.
Connects securely to your tools. The creator never sees your data.
About this skill
Pin GitHub Actions to full commit SHAs with version comments and keep them (and every other dependency) updated with Dependabot. Scripts convert tag references such as owner/repo@v4 into full commit-SHA pins with a version comment, offline from a mapping file you provide (dry run, --diff, --write, plus a git ls-remote script to build the mapping), and detect ecosystems in a repository (github-actions, npm, bun, pip, uv, gomod, cargo, bundler, composer, maven, gradle, nuget, docker, docker-compose, terraform and more) to generate a grouped .github/dependabot.yml or check an existing one for missing ecosystems.
Who it's for
Use when the user asks to pin actions to SHAs, fix OpenSSF Scorecard Pinned-Dependencies, set up or review dependabot.yml, reduce Dependabot PR noise with groups or cooldown, or auto-merge Dependabot updates safely.
What's inside
- Tested, offline Python script(s): dependabot_gen.py, pin_actions.py (deterministic results, standard library only unless noted)
- Reference guides: dependabot-config.md, pinning.md
- Step-by-step agent instructions in SKILL.md covering: When to use; When not to use; Workflow
Why it's worth it
Generic prompts guess. This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice. See the real demo below.
Works with every major AI agent
Built on the open SKILL.md standard: Claude Code, Codex CLI, Cursor, VS Code Copilot, Gemini CLI, Windsurf and 20+ other agents.
Requirements
- Python 3.8+ for the bundled scripts
- No API keys, no account, runs locally
Open source: saizul/github-actions-skills on GitHub (MIT licence, by Saizul Amin).
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago
- Software
Python 3.8+