[MAINT] Audit and bump third-party actions still using the node20 runner

Abierto
#364 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
github-actions
Área
ci-cd

Línea de trabajo

Start with the pinned action.yml of each third-party action: dorny/paths-filter in coding-standard-baseline/action.yml, tj-actions/changed-files in setup-di-compile/action.yml, and google-github-actions/release-please-action in .github/workflows/release-please.yml. Check each one's runs.using value and whether a node24 release exists. Done means no node16 or node20 deprecation warnings in CI and tj-actions/changed-files is either replaced or pinned to a verified SHA. The choice between replacing and SHA-pinning needs a maintainer decision first.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Background

GitHub Actions has deprecated Node 20 in favor of Node 24 as the runtime for JavaScript actions. Actions whose action.yml declares runs.using: node20 will emit deprecation warnings and eventually fail to execute on hosted runners. Older runtimes (node16, node12) have already had hard cutoffs in the past and any references to them should be considered urgent.

Our own supported-version/action.yml is already on node24 (good). The third-party actions we depend on need to be audited and bumped where a node24-capable release is available.

Current runtime per pinned reference

Verified by reading each action.yml at the pinned ref:

Action Pinned to Runtime Used in
dorny/paths-filter v2 node16 ⚠️ coding-standard-baseline/action.yml
tj-actions/changed-files v39 node20 setup-di-compile/action.yml
google-github-actions/release-please-action v4 node20 .github/workflows/release-please.yml
shivammathur/setup-php v2 node24 ✅ (floating tag was updated upstream — no action needed) setup-magento, unit-test, coding-standard-baseline, setup-di-compile, several workflows
php-actions/composer v6 composite (no JS runtime) nx-integration-tests-setup/action.yml
Also on node16 (covered by #363)

The actions/*@v3 pins covered in #363 are also on node16, not just behind on majors:

  • actions/checkout@v3 (used in supported-services-matrix-calculator, setup-di-compile)
  • actions/cache@v3 (used in cache-magento, nx-integration-tests-setup, unit-test)
  • actions/cache/save@v3 (used in nx-integration-tests-setup)

Bumping those to v4/v6 per #363 clears the last node16 references from this repo.

Special case: tj-actions/changed-files@v39

tj-actions/* was compromised in March 2025 (CVE-2025-30066) — any pin to a tag-based version in that namespace is risky regardless of node runtime. This action should be either:

  • Replaced (e.g. dorny/paths-filter already covers a similar use case elsewhere in this repo, so consider consolidating), or
  • Re-pinned to a verified-clean commit SHA.

Acceptance

  • dorny/paths-filter bumped to a release on node24 (or current node20 if node24 isn't yet available upstream)
  • tj-actions/changed-files@v39 is replaced or SHA-pinned
  • google-github-actions/release-please-action bumped to a node24 release if/when available
  • No GitHub Actions deprecation warnings about node16 or node20 in CI logs for this repo

Related

  • #363 — bumping outdated first-party actions/* dependencies (also clears node16 references)
Lenguaje dominante
TypeScript
Estrellas
12
Forks
15
Merge medio
3 d 15 h
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de mage-os/github-actions

Todos los issues de mage-os/github-actions

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.