Generated banner for Github Actions Runtime Upgrade Conventions
Generated logo for Github Actions Runtime Upgrade Conventions

Github Actions Runtime Upgrade Conventions

GitHubOfficialFirst committed by jamesmontemagnoDistributed by GitHub

  • Skill
  • Guidelines
  • Software development
  • MIT
  • No issues found

From the author

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

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill provides a structured methodology for addressing runtime deprecation warnings in GitHub Actions workflows. It focuses on safely migrating action versions to supported runtimes, emphasizing the use of immutable commit SHA pinning to ensure consistency. By following these conventions, developers can modernize their CI/CD pipelines while minimizing the risk of breaking changes and ensuring that all workflow behaviors remain intact post-upgrade.

What it does

  • Provides a step-by-step procedure for upgrading action versions in YAML workflow files.
  • Defines best practices for pinning actions using immutable commit SHAs.
  • Establishes a verification checklist to confirm workflow integrity after upgrades.
  • Outlines requirements for documenting changes in pull request summaries.
  • Offers guidance on handling runtime deprecation warnings for first-party and setup actions.

When to use it

  • When workflow logs display deprecation warnings regarding action runtimes.
  • When you need to update action dependencies while ensuring existing behavior is preserved.
  • When Dependabot is unavailable or has not yet provided an automated update for a specific action.
  • When performing manual maintenance on CI/CD pipeline configurations.

Advantages

  • Reduces the risk of unexpected workflow failures during runtime migrations.
  • Promotes security and stability through the use of immutable commit SHA pinning.
  • Ensures consistent documentation of changes for better auditability in pull requests.
  • Provides a clear, repeatable process for validating workflow execution after modifications.

Usage examples

“How should I update my setup-node action to address a runtime deprecation warning?”
The agent will guide you to find the latest stable major version, resolve it to its specific commit SHA, and update your workflow file using the recommended pinning pattern.
“What steps should I take to verify my workflow after upgrading an action?”
The agent will provide a checklist including parsing the YAML, running the workflow to confirm success, verifying output artifacts, and checking logs for remaining warnings.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/github/github-actions-runtime-upgrade-conventions/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip github-actions-runtime-upgrade-conventions.zip -d .agents/skills

Documentation by jamesmontemagno

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.

Files

Requirements and compatibility

Written for: GitHub Copilot

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Needs Python, Needs Node.js

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

First committed by
GitHub avatar of jamesmontemagnojamesmontemagno
Publisher
GitHub (Official)
Distributed by
GitHub
Source
github/awesome-copilot · skills/github-actions-runtime-upgrade-conventions · commit 797337f
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced
Contributors
jamesmontemagno

AutoGineer is not affiliated with or endorsed by jamesmontemagno or GitHub.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download github-actions-runtime-upgrade-conventions.zip