[MAINT] Bump outdated `actions/*` references for version consistency
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 65/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- github-actions
- 領域
- ci-cd
調査の方向性
The old references are listed per file in the issue: the composite actions cache-magento/action.yml, nx-integration-tests-setup/action.yml, unit-test/action.yml, supported-services-matrix-calculator/action.yml and setup-di-compile/action.yml, plus the workflows under .github/workflows/ such as integration.yaml. Start by grepping for actions/cache@, actions/cache/save@ and actions/checkout@ to confirm the list. Done means no v3 cache references remain, checkout is pinned to v6 everywhere, and the workflows still pass on a test run.
索引モデルが issue の本文から書いたものです。
説明
Background
While auditing the workflows and composite actions in this repo, I noticed wide major-version drift in the first-party actions/* dependencies. Most of these have new majors available with security fixes, smaller bundle sizes, and updated Node runners.
Findings
| Action | Versions currently in use | Latest |
|---|---|---|
actions/cache |
v3, v4 |
v4 |
actions/cache/restore |
v4 |
v4 |
actions/cache/save |
v3 |
v4 |
actions/checkout |
v3, v4, v6 |
v6 |
actions/upload-artifact |
v4 |
v4 |
Files where the older versions appear:
cache-magento/action.yml—actions/cache@v3nx-integration-tests-setup/action.yml—actions/cache@v3,actions/cache/save@v3unit-test/action.yml—actions/cache@v3supported-services-matrix-calculator/action.yml—actions/checkout@v3setup-di-compile/action.yml—actions/checkout@v3.github/workflows/_internal-get-composer-version.yaml—actions/checkout@v4.github/workflows/_internal-get-magento-version.yaml—actions/checkout@v4.github/workflows/_internal-integration.yaml—actions/checkout@v4.github/workflows/_internal-semver-compare.yaml—actions/checkout@v4.github/workflows/_internal-setup-magento.yaml—actions/checkout@v4.github/workflows/_internal-unit.yaml—actions/checkout@v4.github/workflows/_internal_test_actions.yaml—actions/checkout@v4.github/workflows/full-integration-tests.yaml—actions/checkout@v4.github/workflows/integration.yaml—actions/checkout@v4,actions/cache@v4,actions/upload-artifact@v4- (
_internal-coding-standard.yamlandsansec-ecomscan.ymlalready useactions/checkout@v6)
Proposed change
Standardize on the latest major across the repo:
actions/cache→v4everywhere (including thecache/saveandcache/restoresub-paths)actions/checkout→v6everywhereactions/upload-artifact→ already onv4
Why
- Reduces the surface area of the GitHub Actions allowlist consumers need to maintain (one major per action instead of three).
- Pulls in updated Node runtimes and any security fixes that have shipped in newer majors.
- Makes future audits (like this one) trivially mechanical.
Out of scope
Third-party actions (shivammathur/setup-php, dorny/paths-filter, tj-actions/changed-files, etc.) — those will be handled in a separate issue covering the Node 20 → Node 24 migration.
- 主要言語
- TypeScript
- スター
- 12
- フォーク
- 15
- 平均マージ
- 3日 15時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mage-os/github-actions のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
mage-os/github-actions#341 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
mage-os/github-actions#340 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
mage-os/github-actions#364 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
mage-os/github-actions#359 · コメント 3 件 ·
-
hacktoberfest help wanted
難易度 4/5 1〜2日 初心者へのやさしさ 25/100
mage-os/github-actions#344 ·
mage-os/github-actions の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
genfeedai/genfeed.ai#11828 ·
メンテナーはふだん 1 日以内に返信
-
bug security
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
IbrahimHafez1/loadwise#251 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
erkamyaman/unslop-anything#415 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Yeachan-Heo/oh-my-codex#4278 ·
メンテナーはふだん 1 日以内に返信
-
admin
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信