Repository navigation
ci: notify nscale-sdk-go when a spec is published - #2
Open
AdamFlanagan-Nscale wants to merge 1 commit into
Open
AdamFlanagan-Nscale wants to merge 1 commit into
AdamFlanagan-Nscale wants to merge 1 commit into
Conversation
Sends an openapi-published repository_dispatch to nscale-sdk-go on every publish to <service>/main or <service>/latest, so the Go SDK regenerates without waiting for someone to run `just update`. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
auto-nscale is available on this pull request. Put a command on the first line of a comment to use it:
Commands require write access to this repository. |
2 of 5 tasks
This branch has not been deployed
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.
Summary
Adds
notify-sdk.yml. On every publish-bot push that touches<service>/main/openapi.yamlor<service>/latest/openapi.yaml, it sends anopenapi-publishedrepository_dispatchto nscale-sdk-go, which regenerates the affected Go clients and opens PRs (nscaledev/nscale-sdk-go#24).The dispatch is just a nudge: the SDK side works out drift for itself and also runs nightly, so a missed dispatch only means a delay. This workflow needs no checkout and has
contents: readhere. It runs as thenscale-actionsApp, scoped tonscale-sdk-goonly.Setup needed before this works
nscale-actionsApp on nscale-sdk-go (contents: write is whatrepository_dispatchneeds).NSCALE_ACTIONS_APP_PKvisible to this repo.Test plan
actionlintclean.🤖 Generated with Claude Code