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

オープン
#337 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
github-actions, php, yaml
領域
ci-cd, devops

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
TypeScript
スター
12
フォーク
15
平均マージ
3日 15時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mage-os/github-actions のほかの issue

mage-os/github-actions の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。