Catalog
github/github-actions-runtime-upgrade-conventions

github

github-actions-runtime-upgrade-conventions

Upgrade GitHub Actions to supported runtimes by selecting safe action versions, preserving workflow behavior, and validating post-upgrade execution.

v1.0Latest
New~703Updated Jun 26, 2026

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

Pinning Pattern

steps:
  - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.3.1
  - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.4

When recommending upgrades, identify the latest compatible release first, then use the corresponding commit SHA with an optional version comment.

Verification Checklist

After changing action versions:

  1. Ensure all edited workflows still parse and keep the same triggers/permissions unless intentionally changed.
  2. Run the affected workflows (or equivalent local build/test commands) and confirm the upgraded steps complete successfully.
  3. Confirm release/signing/artifact steps still produce expected outputs where applicable.
  4. Check workflow run logs for any new deprecation warnings or runtime migration notes.

PR Notes

Include in the PR summary:

  • Which actions were upgraded (from -> to).
  • Whether any action could not move to a new major and why.
  • Which workflows were re-run to validate the change.

How This Complements Dependabot

Dependabot can automate many updates, but this skill still helps when:

  • Dependabot is not enabled for workflows in a repository.
  • Runtime warnings appear before an automated update is available.
  • A workflow needs behavior-preserving validation after the action bump.
Files1
1 files · 1.0 KB

Select a file to preview

Overall Score

82/100

Grade

B

Good

Safety

90

Quality

82

Clarity

88

Completeness

72

Summary

This skill guides developers to safely upgrade GitHub Actions workflows by addressing runtime deprecation warnings. It provides clear rules for selecting compatible action versions, using immutable commit SHA pins, and validating upgrades through workflow re-runs and log inspection.

Detected Capabilities

file read (GitHub Actions workflow YAML files)workflow execution and validationgit operations (commit and PR authoring)

Trigger Keywords

Phrases that MCP clients use to match this skill to user intent.

github actions runtime upgradeaction version migrationdeprecation warning fixworkflow pin to shasetup action upgrade

Use Cases

  • Address Node.js runtime deprecation warnings in GitHub Actions
  • Upgrade action versions while preserving workflow behavior
  • Pin action versions to stable commit SHAs instead of mutable tags
  • Validate upgraded workflows through re-execution and log inspection
  • Plan action upgrades for repositories without Dependabot automation
  • Document action version changes in pull request summaries

Quality Notes

  • Clear, concise rules for version selection (prefer latest stable major, use immutable commit SHAs)
  • Comprehensive verification checklist ensures post-upgrade validation
  • Practical pinning pattern example with both SHA and version comment
  • Well-scoped guidance: focuses specifically on runtime deprecation warnings and setup actions
  • Contextualizes skill relative to Dependabot automation, showing when manual intervention is needed
  • Actionable PR notes template helps document changes systematically
  • Could benefit from more concrete examples of version bump scenarios (e.g., Node.js 16→18 migration) to illustrate frequency of checks
  • No explicit handling guidance for backward compatibility breaks or major version changes that alter behavior
Model: claude-haiku-4-5-20251001Analyzed: Jun 26, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Use github/github-actions-runtime-upgrade-conventions in your dev environment

Command Palette

Search for a command to run...