[MAINT] Github Actions Reunification - `check-extension`

Abierto
#337 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
15/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Tranquilo
Stack tecnológico
github-actions, php, yaml
Área
ci-cd, devops

Línea de trabajo

Start by reading .github/workflows/check-extension.yaml and .github/workflows/_internal_check_extension.yaml together with the graycore remove_cache_arg branch diff. The decision point is whether to port these reusable workflows; it needs maintainers familiar with Mage-OS CI tooling (warden, nx) and the dependencies get-composer-version, semver-compare, setup-magento, and integration.yaml. If the decision is to port, done means both workflows exist in .github/workflows/ with mage-os/github-actions refs and mage-os token secrets, and the internal self-test passes.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Workflows: check-extension.yaml + _internal_check_extension.yaml

Status: ➕ Graycore-only — evaluate for porting
Files: .github/workflows/check-extension.yaml, .github/workflows/_internal_check_extension.yaml


PR context

The graycore remove_cache_arg branch modifies check-extension.yaml:

  • Removes COMPOSER_MIRROR_PATH_REPOS: 1 from composer install steps
  • Replaces the coding-standard action call with inlined steps (get-composer-version → semver-compare → allow-plugins → composer require → phpcs config-set → phpcs run) — this brings it in line with how graycore is removing the built-in PHP-setup from the coding-standard action
  • Removes the release-please guard from _internal_check_extension.yaml

What these workflows do

check-extension.yaml is a reusable workflow that consumers call to check a Magento extension: runs coding standard, integration tests, and verifies installability. _internal_check_extension.yaml is the internal self-test.


Dependents

No mage-os dependents yet. In graycore, external repos call check-extension.yaml directly.


Decision required

Should these workflows be ported to the mage-os fork?

Arguments for porting:

  • Provides a complete, batteries-included experience for Mage-OS extension authors
  • Mirrors the value proposition of the graycore library

Arguments against porting:

  • Mage-OS fork has its own equivalent workflows (full-integration-tests.yaml, nx-integration-tests.yml)
  • May require adaptation for Mage-OS-specific tooling (warden, nx)

Changes needed if porting (based on graycore remove_cache_arg target state)

  1. Copy check-extension.yaml from graycore remove_cache_arg branch (not main — get the updated version with inlined coding standard steps and no COMPOSER_MIRROR_PATH_REPOS)
  2. Copy _internal_check_extension.yaml from graycore remove_cache_arg branch (release-please guard already removed)
  3. Update all action refs from graycoreio/github-actions-magento2/...@main to mage-os/github-actions/...@main
  4. Update token secret names to mage-os equivalents (e.g. MAGE_OS_CI_TOKEN)
  5. Verify dependencies — get-composer-version, semver-compare, setup-magento, integration.yaml must be updated per their respective plans before enabling this workflow
Lenguaje dominante
TypeScript
Estrellas
12
Forks
15
Merge medio
3 d 15 h
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de mage-os/github-actions

Todos los issues de mage-os/github-actions

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.