ci: adopt shared @btravstack reusable CI + release workflows#335
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR migrates this repo’s CI and release pipelines to shared reusable workflows maintained in btravstack/config, reducing local workflow maintenance while keeping the bespoke integration test and bundle-size reporting jobs.
Changes:
- Replace most CI jobs with a single call to
btravstack/config/.github/workflows/ci-reusable.yml. - Replace the release workflow steps with a call to
btravstack/config/.github/workflows/release-reusable.yml, passingRELEASE_PAT. - Update
bundle-sizeto depend on the newcireusable-workflow job.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/ci.yml | Switches core CI checks to a shared reusable workflow while retaining integration tests and bundle-size reporting. |
| .github/workflows/release.yml | Switches releases to a shared reusable workflow, delegating the release implementation to btravstack/config. |
Comments suppressed due to low confidence (2)
.github/workflows/release.yml:12
- The reusable workflow is referenced via
@main, which is mutable. Pinning to an immutable ref (tag or commit SHA) reduces supply-chain risk and makes releases reproducible.
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: btravstack/config/.github/workflows/release-reusable.yml@main
secrets:
.github/workflows/ci.yml:51
bundle-sizenowneeds: ci(the reusable job), so it will be skipped whenever any CI check fails. Previously it only depended onbuild, so bundle-size output could still be produced even if lint/tests failed. If you want to preserve that behavior, run bundle-size unconditionally (or at least even whencifails).
bundle-size:
name: Bundle Size
runs-on: ubuntu-latest
timeout-minutes: 15
needs: ci
steps:
…fix release permissions
btravers
commented
Jul 24, 2026
btravers
commented
Jul 24, 2026
btravers
commented
Jul 24, 2026
btravers
commented
Jul 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrate CI/release to the shared reusable workflows in `btravstack/config` (proven in unthrown).
CI (`.github/workflows/ci.yml`)
Behavioral deltas (heads-up)
Release (`.github/workflows/release.yml`)
`deploy-docs.yml` and `.github/actions/setup` are untouched.