Guide · Agent skill
How to use the GitHub Actions Runtime Upgrade agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The github-actions-runtime-upgrade-conventions skill is a set of instructions that tells an AI agent how to upgrade GitHub Actions in your workflow files when a run warns that an action uses an outdated runtime, such as an older Node.js version. This guide explains what the skill does, how to install it, how to ask for it, and what to check afterwards. You do not need prior experience with agent skills to follow it.
Quick start
- 1Download the skill. Download the ZIP for github-actions-runtime-upgrade-conventions from this page.
- 2Unzip into a skills folder. Extract it into ~/.claude/skills/ for personal use, or into the project's .claude/skills/ folder for one repository.
- 3Or upload it in the Claude apps. Go to Settings → Capabilities → Skills and upload the skill there.
- 4Describe the warning in plain language. Tell the agent which action shows the runtime deprecation warning and which workflow file contains it.
- 5Review the SHA pins. Check that each full commit SHA matches the official release, since the skill does not verify SHAs itself.
- 6Re-run and read the logs. Run the affected workflows and check for successful steps and any new deprecation warnings.
- 7Write the PR summary. List each from-to upgrade, any action that could not move, and the workflows you re-ran.
What is an agent skill and what does this one do?
An agent skill is a folder containing a SKILL.md file with instructions that an AI agent (such as Claude) reads when a task matches the skill's description. This skill is one such folder. It only adds guidance; it does not run any code on its own.
When your workflow logs show that an action is running on a deprecated runtime, the skill guides the agent to upgrade those actions in the files under .github/workflows. It asks the agent to choose the latest stable major version that works with the workflow, resolve that release to a full commit SHA, and use the SHA in uses: instead of a mutable tag or branch.
- Pick the latest stable major version compatible with the workflow.
- Pin each action to a full commit SHA, with an optional version comment.
- Upgrade one action at a time per commit, or one tightly related group.
- Keep triggers, permissions and other workflow behaviour the same unless you intend to change them.
- Validate by re-running workflows and checking logs for new deprecation warnings.
- Note from-to upgrades, any action that could not move, and which workflows were re-run in the pull request.
Install the skill from the ZIP download
Download the ZIP file for this skill from this page. The skill is published as a single file, SKILL.md, so the ZIP contains that one file inside a folder. Unzip it into one of two locations, depending on how widely you want it available.
For all your projects, unzip it into ~/.claude/skills/ on your computer. To make it available only inside one repository, unzip it into that project's .claude/skills/ folder instead.
If you use the Claude apps rather than a local setup, you can upload the skill instead. Open Settings, go to Capabilities, then Skills, and upload the skill there.
- Personal install: ~/.claude/skills/
- Project install: .claude/skills/ inside the repository
- Claude apps: Settings → Capabilities → Skills
Trigger the skill with a natural request
You do not need a special command. Describe the task in plain language and mention the warning or the workflow files. The skill is relevant when a workflow log reports an action running on a deprecated runtime, or when you are changing action versions in .github/workflows/*.yml or *.yaml files.
Good requests name the symptom and the scope. Be specific about which workflow or action you care about so the agent knows where to look.
- "Our CI log says actions/setup-node is running on a deprecated Node.js runtime. Upgrade it in .github/workflows/build.yml."
- "Upgrade the first-party actions in our workflows that show runtime deprecation warnings, one action per commit."
- "Update actions/checkout and actions/setup-python to supported runtimes and pin them to commit SHAs."
What the agent will produce
The skill focuses on setup actions under actions/setup-* (for example setup-node, setup-python and setup-dotnet) and any other action named in the runtime warning. Expect the agent to show a pinning pattern like the one below, where the full SHA is followed by a version comment.
The skill asks the agent to identify the latest compatible release first and then use its commit SHA. It does not ask the agent to verify those SHAs itself, so check them against the release page before merging.
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.3.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.4What you need before you start
The skill needs access to the repository's .github/workflows files. The agent also needs a way to look up release commit SHAs: either network access, or you supply the SHAs yourself. To validate the change you need GitHub Actions to re-run the workflows, or equivalent local build and test commands.
The skill itself runs no scripts and uses no network access. Any lookup of release information depends on the environment the agent is running in.
- Read and write access to .github/workflows files in the repository
- A way to find release commit SHAs (network access, or SHAs you provide)
- GitHub Actions available to re-run workflows, or local build/test commands
Safety notes and when not to use it
Pinning to a SHA makes runs reproducible, but the skill cannot confirm that a SHA is correct. Review each SHA against the action's official release before accepting the change. Upgrading to the latest major can also break a workflow that depends on older behaviour, so the skill tells the agent to keep existing behaviour unchanged and to report any action that could not move to a new major and why.
Skip this skill if Dependabot already updates your workflows and you see no runtime warnings, since it adds little in that case. Also skip it for workflows that need a specific older action version for compatibility.
- The skill runs no scripts and makes no network calls itself; the agent may need network access to look up SHAs.
- Verify every SHA yourself before merging.
- Check triggers and permissions were not changed unintentionally.
- Do not use it if you need an older action version for compatibility.
Tips for a clean upgrade
Upgrade one action per commit so that a failing run points to a single cause. Keep the version comment next to each SHA so reviewers can see what it refers to. After the change, read the run logs for new deprecation notes, not just for a green checkmark.
The checklist in the skill also asks for release and artifact steps to be checked, since those can succeed while producing different output. Record the from-to versions in the pull request summary.
- Upgrade one action per commit or one related group.
- Keep the # vX.Y.Z comment beside each SHA.
- Read the logs for new deprecation warnings after re-running.
- Confirm release, signing and artifact steps still produce expected outputs.
What people use it for
- Clearing Node.js runtime deprecation warnings from CI logs for actions/setup-node and similar setup actions.
- Upgrading actions/checkout and other first-party actions across .github/workflows files one at a time.
- Converting mutable tags such as @v4 into full commit SHA pins with version comments in a pull request.
- Documenting from-to action upgrades and re-run workflows in a pull request summary for reviewers.
Frequently asked questions
Is the GitHub Actions Runtime Upgrade skill free to use?
The skill is published under the MIT licence, according to the item details on this page. The licence terms are the authority on what you may do with it, so read them in the source repository before reuse.
What do I need to use this skill?
You need access to the repository's .github/workflows files, a way for the agent to look up release commit SHAs (network access or SHAs you supply), and GitHub Actions to re-run workflows for validation. The skill itself runs no scripts and uses no network.
Where do I install the skill?
Unzip the downloaded ZIP into ~/.claude/skills/ for personal use or into a project's .claude/skills/ folder for one repository. In the Claude apps, you can upload it under Settings → Capabilities → Skills.
Why does the skill recommend commit SHAs instead of tags?
The skill asks for immutable pins: a full commit SHA in uses: rather than a mutable tag like @v4 or a branch like @main. This makes the action version reproducible. You should still check each SHA against the official release yourself.
Will this skill check that my workflows still work?
No. The skill only instructs the agent. It asks you to re-run the workflows, check logs for new deprecation warnings, and confirm triggers and permissions are unchanged, but you or your CI must perform those checks.
Should I use this instead of Dependabot?
Not always. Dependabot can automate many workflow updates, and the skill adds little if Dependabot already handles them and no runtime warnings appear. The skill is more useful when Dependabot is not enabled for workflows, when warnings appear before an automated update exists, or when you need behaviour-preserving validation.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
This skill suits maintainers who see runtime deprecation warnings in CI logs and want careful, SHA-pinned upgrades of setup and first-party actions in pull requests. It is a poor fit if Dependabot already keeps your workflows current, or if a workflow needs an older action version to keep working, and it does not verify SHAs or test anything by itself.
Download the skill