[MAINT] Bump outdated `actions/*` references for version consistency
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 65/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- github-actions
- Lĩnh vực
- ci-cd
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 12
- Fork
- 15
- Merge trung bình
- 3 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mage-os/github-actions
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
mage-os/github-actions#341 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
mage-os/github-actions#340 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
mage-os/github-actions#364 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
mage-os/github-actions#359 · 3 bình luận ·
-
hacktoberfest help wanted
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 25/100
mage-os/github-actions#344 ·
Tất cả issue của mage-os/github-actions
Issue tương tự
-
api bug priority:low ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
wondermoney/wondermoney#862 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
rootsiemen/seo-agent-tools#70 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
alvinunreal/oh-my-opencode-slim#1971 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
elecnix/bellwether#467 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày