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

オープン
#364 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
静か
技術スタック
github-actions
領域
ci-cd

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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)
主要言語
TypeScript
スター
12
フォーク
15
平均マージ
3日 15時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mage-os/github-actions のほかの issue

mage-os/github-actions の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。