[MAINT] Github Actions Reunification - `check-extension`
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 15/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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: 1from composer install steps - Replaces the
coding-standardaction 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)
- Copy
check-extension.yamlfrom graycoreremove_cache_argbranch (notmain— get the updated version with inlined coding standard steps and noCOMPOSER_MIRROR_PATH_REPOS) - Copy
_internal_check_extension.yamlfrom graycoreremove_cache_argbranch (release-please guard already removed) - Update all action refs from
graycoreio/github-actions-magento2/...@maintomage-os/github-actions/...@main - Update token secret names to mage-os equivalents (e.g.
MAGE_OS_CI_TOKEN) - Verify dependencies —
get-composer-version,semver-compare,setup-magento,integration.yamlmust be updated per their respective plans before enabling this workflow
- Vorherrschende Sprache
- TypeScript
- Sterne
- 12
- Forks
- 15
- Ø Merge
- 3 T. 15 Std.
- Gemergte PRs (30 T.)
- 5
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus mage-os/github-actions
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 75/100
mage-os/github-actions#341 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 80/100
mage-os/github-actions#340 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
mage-os/github-actions#364 ·
-
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 65/100
mage-os/github-actions#363 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
mage-os/github-actions#359 · 3 Kommentare ·
Alle Issues in mage-os/github-actions
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
genfeedai/genfeed.ai#11828 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug security
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
IbrahimHafez1/loadwise#251 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 90/100
erkamyaman/unslop-anything#415 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Yeachan-Heo/oh-my-codex#4278 ·
Maintainer antworten meist innerhalb von 1 Tag
-
admin
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag