Skip to content

Use a read-only deploy key for private extension builds - #8

Merged
SunChJ merged 1 commit into
mainfrom
codex/use-extension-deploy-key
Jul 23, 2026
Merged

Use a read-only deploy key for private extension builds#8
SunChJ merged 1 commit into
mainfrom
codex/use-extension-deploy-key

Conversation

@SunChJ

@SunChJ SunChJ commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • replace the cross-repository extension PAT with a dedicated SSH deploy key
  • require GLOSS_EXTENSION_SSH_KEY in release preflight
  • check out SunChJ/personal-immersive-translator through strict SSH with credentials not persisted
  • update release documentation and setup guidance

Why

The browser-extension source only needs read access to one private repository. A repository-scoped, read-only deploy key provides that access without creating another user PAT or granting access to the public distribution repositories.

Impact

After this change, the Gloss release only needs one user-created fine-grained PAT: GLOSS_DISTRIBUTION_TOKEN for publishing to gloss-releases and dispatching the Homebrew tap workflow.

Validation

  • release workflow YAML parsed locally
  • bash -n Scripts/*.sh
  • swift test — 171 passed, 4 explicitly skipped integration tests
  • git diff --check

@SunChJ
SunChJ marked this pull request as ready for review July 23, 2026 10:46
@SunChJ
SunChJ merged commit 55fc630 into main Jul 23, 2026
4 checks passed
@SunChJ
SunChJ deleted the codex/use-extension-deploy-key branch August 6, 2026 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant