Skip to content

Dispatch internal version sync after releases - #267

Merged
chailandau merged 3 commits into
mainfrom
chai/sync-internal-ghost-versions
Aug 20, 2026
Merged

Dispatch internal version sync after releases#267
chailandau merged 3 commits into
mainfrom
chai/sync-internal-ghost-versions

Conversation

@chailandau

Copy link
Copy Markdown
Collaborator

Why

Keep the Ghost dependency pins in squareup/agents and squareup/ghost-internal synchronized with each published Ghost release.

What

  • Mint a repository-scoped sq-ghost-bot installation token after a successful publish
  • Send a bump_ghost repository dispatch to squareup/agents with the published version
  • Skip the integration cleanly on forks and when credentials are not configured
  • Use repository_dispatch so the app does not need Actions permission

Setup

This expects the following Actions configuration on block/ghost:

  • Variable: GHOST_SYNC_VERSION_APP_ID
  • Secret: GHOST_SYNC_VERSION_PRIVATE_KEY

The receiving workflow in squareup/agents should land before this PR is made ready for review.

Testing

  • git diff --check passed
  • Local repo checks could not run because dependencies are not installed; install was blocked by the corporate dependency-confusion filter

Generated with Goose

chailandau and others added 3 commits August 20, 2026 13:34
Co-authored-by: Goose <opensource@block.xyz>
Ai-assisted: true
Co-authored-by: Goose <opensource@block.xyz>
Ai-assisted: true
Co-authored-by: Goose <opensource@block.xyz>
Ai-assisted: true
@chailandau
chailandau marked this pull request as ready for review August 20, 2026 17:53
@chailandau
chailandau merged commit c55888e into main Aug 20, 2026
4 checks passed
@chailandau
chailandau deleted the chai/sync-internal-ghost-versions branch August 20, 2026 18:26
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.

2 participants