Replace the Speakeasy generate and release workflows with thin stubs - #360
Draft
mcollinscodat wants to merge 3 commits into
Draft
Replace the Speakeasy generate and release workflows with thin stubs#360mcollinscodat wants to merge 3 commits into
mcollinscodat wants to merge 3 commits into
Conversation
…flows at Codat SDK Codegen
.github/workflows/{bank_feeds,lending,platform,sync_for_expenses,sync_for_payables}_generate.yaml - the old Speakeasy generate call becomes a stub that says generation moved and exits 0
.github/workflows/{bank_feeds,lending,platform,sync_for_expenses,sync_for_payables}_release.yaml - the old Speakeasy publish call becomes a stub that hands the release to the central publish pipeline as a publish-csharp repository dispatch
.github/workflows/{bank_feeds,lending,platform,sync_for_expenses,sync_for_payables}_release.yaml - cut the header comment to where publishing runs and what the PUBLISH_PRERELEASE variable does
…ow comments .github/workflows/*_generate.yaml - say Codat SDK Codegen generates this SDK, without naming its workflow file .github/workflows/*_release.yaml - same for the release comment, and drop the generator script name from the "written by" line
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.
Replaces the Speakeasy generate and release workflows for bank-feeds, lending, platform, sync-for-expenses and sync-for-payables with thin stubs pointing at Codat's central SDK codegen pipeline. Workflow filenames and names are unchanged, so existing triggers keep matching. The other products' workflows are untouched.
<product>/RELEASES.mdpush to main, plus manual dispatch. Each run mints a short-lived GitHub App token and hands the release to the central pipeline instead of publishing here.PUBLISH_PRERELEASEon this repo, so a product can ship a release candidate ahead of the real version. Left unset, which is the normal state, the real version publishes.