Skip to content
github/awesome-copilot

Upgrading GitHub Actions to Supported Runtime Environments

GitHub CopilotGemini CLIClaude CodeOpenAI CodexCursorDevin / Windsurf

About this skill

A skill that explains the rules for upgrading GitHub Actions when runtime deprecation warnings appear, such as Node.js migrations, while keeping workflow behavior unchanged. It calls for upgrading to the latest stable major version, pinning versions using the full immutable commit SHA instead of mutable tags like @v4, upgrading one action per commit for easier fault isolation, and prioritizing review of actions/* actions, especially actions/setup-*.
Start here

How do you use this skill?

1. Review workflow run logs to identify the actions showing runtime deprecation warnings. 2. Determine the latest stable compatible major version for each action that needs an upgrade, such as actions/setup-node or actions/setup-python. 3. Extract the full commit SHA of the target version and use it in the uses: field with an optional version comment instead of mutable tags. 4. Modify the .github/workflows/*.yml or *.yaml files by upgrading one action (or one cohesive group) per commit while keeping triggers, permissions, and behavior unchanged. 5. Verify the changes: make sure the files parse successfully, run the affected workflows, and monitor the logs for new warnings. 6. Document in the pull request summary the upgraded actions (from ← to), the reasons any action was not upgraded, and the workflows that were rerun. Example user request: "The deployment pipeline is showing warnings that checkout runs on a deprecated runtime; upgrade it and pin the new version with a full SHA without changing the pipeline's behavior."

Requirements and limitations

Depends on a repository containing workflow files in .github/workflows in yml or yaml format, access to run logs to see deprecation warnings, and permissions to create pull requests and run workflows for verification. It also requires the ability to query versions and SHAs from action repositories. The skill is text-based guidance and does not automatically test workflows; final verification is done manually by running the workflows. Source license is MIT.

Installation by agent

Download and extract the ZIP. It contains the folder github-actions-runtime-upgrade-conventions and the file SKILL.md with the original attachments and license.

GitHub Copilot
  1. Create this path inside your project if it does not exist:.github/skills/
  2. Copy the entire extracted skill folder to this path:.github/skills/github-actions-runtime-upgrade-conventions/SKILL.md
  3. Open the project in your agent or refresh the skills list and look for github-actions-runtime-upgrade-conventions.
  4. Request the task shown above and select the skill. Grant only necessary permissions.
Guide GitHub Copilot official documentation ↗
Gemini CLI
  1. Create this path inside your project if it does not exist:.gemini/skills/
  2. Copy the entire extracted skill folder to this path:.gemini/skills/github-actions-runtime-upgrade-conventions/SKILL.md
  3. Open the project in your agent or refresh the skills list and look for github-actions-runtime-upgrade-conventions.
  4. Request the task shown above and select the skill. Grant only necessary permissions.
Guide Gemini CLI official documentation ↗
Claude Code
  1. Create this path inside your project if it does not exist:.claude/skills/
  2. Copy the entire extracted skill folder to this path:.claude/skills/github-actions-runtime-upgrade-conventions/SKILL.md
  3. Open the project in your agent or refresh the skills list and look for github-actions-runtime-upgrade-conventions.
  4. Request the task shown above and select the skill. Grant only necessary permissions.
Guide Claude Code official documentation ↗
OpenAI Codex
  1. Create this path inside your project if it does not exist:.agents/skills/
  2. Copy the entire extracted skill folder to this path:.agents/skills/github-actions-runtime-upgrade-conventions/SKILL.md
  3. Open the project in your agent or refresh the skills list and look for github-actions-runtime-upgrade-conventions.
  4. Request the task shown above and select the skill. Grant only necessary permissions.
Guide OpenAI Codex official documentation ↗
Cursor
  1. Create this path inside your project if it does not exist:.cursor/skills/
  2. Copy the entire extracted skill folder to this path:.cursor/skills/github-actions-runtime-upgrade-conventions/SKILL.md
  3. Open the project in your agent or refresh the skills list and look for github-actions-runtime-upgrade-conventions.
  4. Request the task shown above and select the skill. Grant only necessary permissions.
Guide Cursor official documentation ↗
Devin / Windsurf
  1. Create this path inside your project if it does not exist:.devin/skills/
  2. Copy the entire extracted skill folder to this path:.devin/skills/github-actions-runtime-upgrade-conventions/SKILL.md
  3. Open the project in your agent or refresh the skills list and look for github-actions-runtime-upgrade-conventions.
  4. Request the task shown above and select the skill. Grant only necessary permissions.
Guide Devin / Windsurf official documentation ↗

Original files retain their language to preserve tool names and paths. Compatibility is classified by review, not runtime testing on every agent version.