ci: migrate SDK generation to speakeasy ci CLI#533
Merged
Conversation
Replaces Speakeasy's reusable workflow with a steps-based job invoking the speakeasy ci generate CLI directly. This lets the generate job declare environment: publish, gating secrets access behind the required reviewer approval. Also bumps speakeasyVersion to 1.763.2, which includes the upstream fix for the go-git push bug in CommitAndPush (speakeasy-api/speakeasy#2043). Three generation workflows updated: mistralai-sdk, mistralai-azure-sdk, mistralai-gcp-sdk.
d308d8e to
7981e0e
Compare
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
Replaces Speakeasy's reusable workflow with a steps-based job invoking the
speakeasy ci generateCLI directly. This lets thegeneratejob declareenvironment: publish, gating secrets access behind the required reviewer approval.Also bumps
speakeasyVersionto1.763.2, which includes the upstream fix for the go-git push bug inCommitAndPush(speakeasy-api/speakeasy#2043).Scope
Three generation workflows updated:
sdk_generation_mistralai_sdk.yaml(targetmistralai-sdk)sdk_generation_mistralai_azure_sdk.yaml(targetmistralai-azure-sdk, align-version targetspackages/azure)sdk_generation_mistralai_gcp_sdk.yaml(targetmistralai-gcp-sdk, align-version targetspackages/gcp)Validation
After merge, manually dispatch each generation workflow and confirm the run goes green end-to-end. May produce a regen PR with updated SDK output from the 1.761.1 to 1.763.2 jump, which is expected and can be reviewed + merged separately.
Notes
This only updates the workflow YAMLs and
.speakeasy/workflow.yamlversion pin. SDK regen + lock file updates will land via the next gen workflow dispatch.