Saltar al contenido
Skillpedia
Deploy y nube (DevOps)40 mil · #7226

github-actions-runtime-upgrade-conventions

Qué hace

Esta herramienta te ayuda a actualizar partes de tu código (llamadas 'acciones') que se ejecutan en entornos desactualizados. Sugiere versiones más nuevas y seguras, asegurando que todo siga funcionando igual que antes.

Cuándo usarla

  • ✓Cuando GitHub te avise de que un entorno de ejecución (runtime) está obsoleto.
  • ✓Cuando actualices 'acciones' en tus archivos de flujo de trabajo.
  • ✓Cuando quieras modernizar tus 'acciones' sin cambiar su comportamiento actual.

Link de la skill

https://github.com/github/awesome-copilot/blob/main/skills/github-actions-runtime-upgrade-conventions/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/github/awesome-copilot/blob/main/skills/github-actions-runtime-upgrade-conventions/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Actualiza las acciones de GitHub a runtimes compatibles, manteniendo el comportamiento del flujo de trabajo.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La herramienta analiza qué 'acciones' están desactualizadas y sugiere las últimas versiones estables. Da prioridad a usar identificadores fijos (SHA) en lugar de etiquetas mutables, por seguridad y previsibilidad.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

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.
Preguntas frecuentes

¿Qué son las 'acciones' de GitHub?

Son pequeños programas que automatizan tareas en GitHub, como compilar código, hacer pruebas o publicar. Se ejecutan en entornos específicos (runtimes).

¿Por qué necesito actualizar los runtimes?

Los entornos desactualizados pueden volverse inseguros o dejar de funcionar. Actualizarlos asegura que tus automatizaciones sigan funcionando de forma confiable y segura.

¿En qué se diferencia de Dependabot?

Dependabot puede automatizar actualizaciones, pero esta herramienta es útil cuando Dependabot no está configurado, cuando aparecen avisos de obsolescencia antes de una actualización automática, o cuando necesitas validar los cambios con cuidado.

Detalles

Descripción original del autor

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

repo: github/awesome-copilot

Popularidad

Estrellas en GitHub
40 mil
Posición en el ranking
#7226
Licencia
MIT
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas