Start a fresh conversation. Replace the highlighted placeholders.
Use github-actions-runtime-upgrade-conventions to upgrade deprecated action runtimes in [workflow files], using compatible immutable SHA pins while preserving behavior; validate parsing and affected workflow execution afterward.
Required inputs
[workflow files]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: github-actions-runtime-upgrade-conventionsdescription: 'Upgrade GitHub Actions to supported runtimes by selecting safe action versions, preserving workflow behavior, and validating post-upgrade execution.'
GitHub Actions Runtime Upgrade Conventions
Use this skill when editing GitHub Actions workflows to address deprecation warnings about action runtimes (for example Node.js runtime migrations).
Use This Skill When
Workflow logs report an action is running on a deprecated runtime.
You are upgrading action versions in .github/workflows/*.yml or .github/workflows/*.yaml.
You need to keep existing workflow behavior while modernizing action dependencies.
Upgrade Rules
Prefer upgrading to the latest stable major version of each action that is compatible with the workflow.
Prefer immutable pins: resolve the target release to a full commit SHA and use that SHA in uses:.
Do not pin to mutable tags or branches (for example @v4 or @main) in final recommendations.
Upgrade one action at a time per commit (or one tightly related group) so failures are easy to isolate.
Keep existing workflow behavior unchanged while upgrading runtime/dependency actions.
Actions We Track in This Repo
Prioritize runtime review for these groups when warnings appear:
Any first-party action under actions/*
Especially setup actions under actions/setup-* (for example setup-node, setup-python, setup-dotnet)
Any other action explicitly named by the runtime deprecation warning in workflow logs