Repository navigation
feat(action): add console-repo-sync composite action - #34
Closed
wbogusz-poolside wants to merge 1 commit into
Closed
wbogusz-poolside wants to merge 1 commit into
wbogusz-poolside wants to merge 1 commit into
Conversation
Author
|
Closing — relocated to the forge monorepo per repo-scoping discussion: this action calls the repositories/data-sources API, not Bridge's surface, and centralized Poolside infra lives in forge. Successor: poolsideai/forge#44313. Consumer updated: poolsideai/poolside-skills#35. |
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.
Why
We want CI in git-backed skill repositories to kick Console syncs directly after a commit lands, without requiring teams to wire their own curl scripts. This gives repositories a supported action that can either target a known Console repository ID or discover matching Console repositories from the GitHub remote.
What
action-repo-sync/action.yml, a composite GitHub Action for syncing Console repositories viaPOST /v0/repositories/{id}/syncrepository_idor auto-discovery throughGET /v0/repositoriesby matching normalized GitHub remotes againsthttps://github.com/${{ github.repository }}GET /v0/repositories/{id}when list summaries do not includeremote_url, preserving compatibility with older Console deploymentscommit_shain the sync payload, defaulting to the workflow commit SHA when the input is omittedlatest_version_infountil the requested version is ready, errors, times out, or is superseded by a newer syncversion_idsoutput for all repositories synced or reused by the actionaction-repo-sync/README.mdwith inputs, outputs, explicit-ID and auto-discovery examples, token provisioning guidance, and troubleshooting notes