ci: use unified Rstack ecosystem CI#6517
Conversation
✅ Deploy Preview for rsbuild ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull Request Overview
This PR refactors the Ecosystem CI workflow to use reusable composite actions from the rspack-contrib/rstack-ecosystem-ci repository, significantly simplifying the workflow configuration.
- Replaced two complex workflow jobs with simpler job definitions that use external composite actions
- Removed the local custom action
.github/actions/eco-ci-result - Updated to use a new GitHub token secret (
REPO_RSBUILD_ECO_CI_GITHUB_TOKEN_NEXT)
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/ecosystem-ci.yml |
Simplified workflow by replacing inline GitHub script actions and manual comment handling with two external composite actions (ecosystem_ci_dispatch and ecosystem_ci_per_commit) |
.github/actions/eco-ci-result/action.yml |
Deleted custom action that formatted ecosystem CI results, as this functionality is now handled by the external composite actions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
.github/workflows/ecosystem-ci.yml
Outdated
| continue-on-error: true | ||
| uses: convictional/trigger-workflow-and-wait@f69fa9eedd3c62a599220f4d5745230e237904be # v1.6.5 | ||
| - name: Trigger Ecosystem CI | ||
| uses: rspack-contrib/rstack-ecosystem-ci/.github/actions/ecosystem_ci_dispatch@main |
There was a problem hiding this comment.
Using @main as the action reference creates a moving target that can break the workflow without warning. Consider pinning to a specific commit SHA or version tag for stability and reproducibility.
There was a problem hiding this comment.
@fi3ework Could we pin to a release tag and let renovate to upgrade it?
There was a problem hiding this comment.
cc @yifancong it suddenly occurred to me https://github.com/web-infra-dev/rsdoctor-action also need to tag and release a version in the future as well. 🤣

Summary
to use the unified ecosystem CI https://rstack-ecosystem-ci.netlify.app/?stack=rsbuild.
Related Links
Checklist