github-actions-runtime-upgrade-conventions

Upgrade GitHub Actions workflow steps to supported runtimes using pinned commit SHAs.

38.5k|4.9k|Updated Jun 11, 2025
One-click install
npx skills add https://github.com/github/awesome-copilot --skill github-actions-runtime-upgrade-conventions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-actions-runtime-upgrade-conventions
Source: https://github.com/github/awesome-copilot/tree/main/skills/github-actions-runtime-upgrade-conventions
Command: npx skills add https://github.com/github/awesome-copilot --skill github-actions-runtime-upgrade-conventions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub Actions workflows emit deprecation warnings when actions run on outdated runtimes such as older Node.js versions, and upgrading action versions without a plan risks breaking workflow behavior.

Core Features & Use Cases

  • Runtime Upgrade Rules: Select the latest compatible stable major version of each action while preserving existing workflow triggers, permissions, and behavior.
  • Immutable Pinning: Resolve target releases to full commit SHAs instead of mutable tags like @v4 or @main for reproducible workflows.
  • Verification Checklist: Validate edited workflows by re-running them and checking logs for new deprecation warnings.
  • Use Case: When workflow logs warn that actions/setup-node runs on a deprecated Node.js runtime, use this Skill to pick the latest compatible release, pin it by commit SHA, and re-run the workflow to confirm success.

Quick Start

Ask the AI to upgrade the deprecated actions in your .github/workflows files to supported runtimes using pinned commit SHAs and verify the workflows still pass.

Frequently Asked Questions about github-actions-runtime-upgrade-conventions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix GitHub Actions deprecated runtime warnings?

Upgrade the affected actions to their latest compatible stable major version, which typically moves them to a supported runtime such as a newer Node.js version. Pin each action to the release's full commit SHA and re-run the workflow to confirm the warning is gone.

How to pin GitHub Actions to a commit SHA?

Find the target release of the action, resolve it to the full commit SHA, and use that SHA in the uses field, for example actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 with an optional version comment. Avoid mutable tags like @v4 or @main in final recommendations.

Should I upgrade GitHub Actions one at a time or all together?

Upgrade one action at a time per commit, or one tightly related group, so failures are easy to isolate. This keeps existing workflow behavior unchanged while modernizing runtime dependencies.

Does Dependabot replace manual GitHub Actions runtime upgrades?

Dependabot automates many action updates, but manual upgrades are still needed when Dependabot is not enabled for workflows, when runtime warnings appear before an automated update exists, or when behavior-preserving validation is required after a bump.

How do I verify a GitHub Actions upgrade did not break my workflow?

Confirm the edited workflows still parse with the same triggers and permissions, then run the affected workflows or equivalent local build and test commands. Check that release, signing, and artifact steps produce expected outputs and that logs show no new deprecation warnings.