Repository navigation
chore(ci): use ubuntu-24.04 fallback runner for forks - #9544
ping-maxwell merged 2 commits into
Conversation
|
@Vishesh-Verma-07 is attempting to deploy a commit to the better-auth Team on Vercel. A member of the Team first needs to authorize it. |
@better-auth/api-key
better-auth
auth
@better-auth/core
@better-auth/drizzle-adapter
@better-auth/electron
@better-auth/expo
@better-auth/i18n
@better-auth/kysely-adapter
@better-auth/memory-adapter
@better-auth/mongo-adapter
@better-auth/oauth-provider
@better-auth/passkey
@better-auth/prisma-adapter
@better-auth/redis-storage
@better-auth/scim
@better-auth/sso
@better-auth/stripe
@better-auth/telemetry
@better-auth/test-utils
commit: |
There was a problem hiding this comment.
Pull request overview
Updates GitHub Actions workflows to avoid indefinite queueing on forks by conditionally selecting the custom starsling-ubuntu-24.04 runner only when running in better-auth/better-auth, and otherwise falling back to ubuntu-24.04.
Changes:
- Replaced
runs-on: starsling-ubuntu-24.04with a repository-conditionalruns-onexpression across CI, E2E, preview, and Claude workflows. - Minor whitespace/format cleanup in workflow YAML where touched.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/ci.yml | Conditional runs-on fallback for lint/typecheck/test jobs to support fork execution. |
| .github/workflows/e2e.yml | Conditional runs-on fallback for smoke/integration/adapter-integration E2E jobs to support forks. |
| .github/workflows/preview.yml | Conditional runs-on fallback so preview workflow runs on forks without custom runner. |
| .github/workflows/claude.yml | Conditional runs-on fallback so the workflow doesn’t queue indefinitely on forks. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Maxwell <[email protected]>
|
This issue has been locked as it was closed more than 7 days ago. If you're experiencing a similar problem or you have additional context, please open a new issue and reference this one. |
Problem
Closes #9539
Workflows use
starsling-ubuntu-24.04which is a custom runner onlyavailable in the
better-auth/better-authorg. When contributors forkthe repo and push to their fork, CI jobs queue indefinitely waiting for
a runner that will never come — or worse, bill them if their org has
starsling configured.
Fix
Replace every
runs-on: starsling-ubuntu-24.04with a conditionalexpression:
runs-on: ${{ github.repository == 'better-auth/better-auth' && 'starsling-ubuntu-24.04' || 'ubuntu-24.04' }}In the official repo everything works as before. In any fork, jobs
automatically fall back to standard GitHub-hosted
ubuntu-24.04runners.Files changed
.github/workflows/ci.yml.github/workflows/e2e.yml.github/workflows/preview.yml.github/workflows/claude.ymlSummary by cubic
Use conditional runners in GitHub Actions to fall back to
ubuntu-24.04on forks, so CI runs instead of waiting for the privatestarsling-ubuntu-24.04runner. This unblocks contributors and avoids unintended billing.runs-onwithruns-on: ${{ github.repository == 'better-auth/better-auth' && 'starsling-ubuntu-24.04' || 'ubuntu-24.04' }}inci.yml,e2e.yml,preview.yml, andclaude.yml.Written for commit ab335bc. Summary will update on new commits.