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

Aperta
#336 7 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@digitalrisedorset ci sta già lavorando.

Dal 5/5/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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
Lingua principale
TypeScript
Stelle
12
Fork
15
Merge medio
3g 15h
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mage-os/github-actions

Tutte le issue di mage-os/github-actions

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.