fix: route PR jobs to ephemeral runners and clean isolated Docker auth#1622
Draft
gilescope wants to merge 2 commits into
Draft
fix: route PR jobs to ephemeral runners and clean isolated Docker auth#1622gilescope wants to merge 2 commits into
gilescope wants to merge 2 commits into
Conversation
Route pull_request jobs that execute checked-out code to ephemeral GitHub-hosted runners and clean isolated Docker auth directories after registry use. Assisted-by: OpenAI:gpt-5.3-codex Signed-off-by: Giles Cope <gilescope@gmail.com>
Limit the ubuntu-latest fallback to external fork pull requests while preserving self-hosted runners for trusted internal PR, merge queue, push, and manual events. Assisted-by: OpenAI:gpt-5.3-codex Signed-off-by: Giles Cope <gilescope@gmail.com>
de33392 to
47da424
Compare
scottbuckel
approved these changes
Jun 1, 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.
Motivation
.envrc/Earthly on those hosts.Description
pull_requestto ephemeral GitHub-hosted runners by makingruns-onconditional (ubuntu-latestfor PRs, self-hosted for non-PR events) across the main CI and test workflows.$RUNNER_TEMP/.dockerdirectory and exportingDOCKER_CONFIG=$RUNNER_TEMP/.dockerwhere registry logins occur (added to the test workflow and harmonized with existing isolation steps).rm -rf "$DOCKER_CONFIG") after registry use in affected jobs to avoid leaving credentials on persistent storage.Testing
.github/workflows/continuous-integration.ymland.github/workflows/continuous-integration-test.yml).git diff --checkand a local syntax/consistency sweep to ensure no obvious formatting errors were introduced.actionlintbut it could not complete in this environment due to a Go proxy HTTP 403, so static linting withactionlintwas not available here.Codex Task