[MAINT] Github Actions Reunification - `check-extension`
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 15/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- 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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mage-os/github-actions
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
mage-os/github-actions#341 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
mage-os/github-actions#340 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
mage-os/github-actions#364 ·
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 65/100
mage-os/github-actions#363 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
mage-os/github-actions#359 · 3 bình luận ·
Tất cả issue của mage-os/github-actions
Issue tương tự
-
api bug priority:low ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
wondermoney/wondermoney#862 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
rootsiemen/seo-agent-tools#70 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
alvinunreal/oh-my-opencode-slim#1971 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
elecnix/bellwether#467 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày