[MAINT] Github Actions Reunification - `setup-magento`

Đang mở
#336 7 bình luận 0 reaction 1 người được giao Xem trên GitHub

@digitalrisedorset đang làm issue này rồi.

Từ ngày 5/5/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Action: setup-magento

Status: 🔴 Needs update
Files: setup-magento/action.yml


Summary of differences

Area Graycore (source of truth) Mage-OS (fork)
Default PHP version 8.4 8.3
Default magento_version magento/project-community-edition:2.4.8-p3 ~2.4.7-p4
composer_auth input Present Absent
COMPOSER_AUTH env on composer steps Present Absent
Internal action ref graycoreio/github-actions-magento2/fix-magento-install@main mage-os/github-actions/fix-magento-install@main

Dependents (mage-os/github-actions consumers)

No external repos depend on setup-magento directly (per dependents.md).


Changes needed in mage-os fork

  1. Bump default PHP version from 8.3 to 8.4
  2. Update default magento_version from ~2.4.7-p4 to magento/project-community-edition:2.4.8-p3
  3. Add composer_auth input (required: false, description: "Composer Authentication Credentials")
  4. Add COMPOSER_AUTH: ${{ inputs.composer_auth }} env to all relevant composer steps (install, require, etc.)

Internal workflow impact

After this action is updated, _internal-setup-magento.yaml also needs:

  • Add MAGENTO_COMPOSER_REPO: "https://mirror.mage-os.org/" workflow-level env var
  • Bump actions/checkout from v4 to v6 (two occurrences) and actions/cache from v4 to v5
  • Add COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }} env to all composer steps
  • Add composer_auth: ${{ secrets.COMPOSER_AUTH }} and magento_repository: ${{ env.MAGENTO_COMPOSER_REPO }} inputs to setup-magento step
  • Switch cache-magento refs to ./cache-magento and remove mode: inputs (after update-cache-magento PR merges)
  • Bump smoke test PHP to 8.4, Composer to v2.8, Magento to 2.4.8-p3
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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mage-os/github-actions

Tất cả issue của mage-os/github-actions

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.