[improve][ci] Configure SSH access action default and update Upterm - #26575
Merged
Merged
Conversation
lhotari
requested review from
Technoboy-,
dao-jun,
david-streamlio,
merlimat and
nodece
September 14, 2026 05:40
dao-jun
approved these changes
Sep 14, 2026
nodece
approved these changes
Sep 14, 2026
lhotari
added a commit
that referenced
this pull request
Sep 14, 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
The SSH access action helps debug GitHub Actions issues in forks by allowing an SSH connection directly to the runner VM. SSH access is disabled for
apache/pulsarby the existing workflow conditions and disabled by default for private repositories. It is enabled by default for public repositories outsideapache/pulsarwhen the calling workflow's conditions are met.Set
CI_ENABLE_SSH=trueto explicitly enable the action orCI_ENABLE_SSH=falseto disable it, including in public forks. This override controls the action when invoked; it does not bypass the workflow conditions that excludeapache/pulsar. Existing authorized-user SSH key restrictions remain in place.This change makes these defaults configurable, upgrades Linux Upterm to 0.27.0, and supports noninteractive Homebrew installation on macOS runners.
Modifications
CI_ENABLE_SSH=trueorfalseas a repository variable or workflow/job/step environment variable. The calling workflows pass repository variables into the action environment; job/step environment settings take precedence. Both start and wait honor the setting; invalid values fail before starting SSH.HOMEBREW_NO_ASK=1for the fully qualified Upterm cask and tmux installations. Fully qualified installation trusts the individual cask, without trusting the entire tap or disabling tap-trust checks.Verifying this change
./gradlew spotlessCheck checkstyleMain checkstyleTestpassed across all modules.owenthereal/upterm/upterm; a full macOS runtime session has not been tested.falseskips both start and wait without creating a session; the default public setting then starts Upterm and waits for a connection after a deliberately failed test step. The temporary verification steps and extended timeout have been removed.Does this pull request potentially affect one of the following parts:
Only CI tooling and the shared action's default behavior change.