Skip to content

Replace the Speakeasy generate and release workflows with thin stubs - #360

Draft
mcollinscodat wants to merge 3 commits into
mainfrom
feat/CONN-1664-release-stubs
Draft

Replace the Speakeasy generate and release workflows with thin stubs#360
mcollinscodat wants to merge 3 commits into
mainfrom
feat/CONN-1664-release-stubs

Conversation

@mcollinscodat

Copy link
Copy Markdown

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.

  • Generate stubs: generation runs centrally now and arrives here as a versioned PR. The stub prints a warning and exits 0.
  • Release stubs: still trigger on a <product>/RELEASES.md push 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.
  • No packaging check has been dropped. They all run centrally.
  • Pre-releases: the release stub reads an Actions variable named PUBLISH_PRERELEASE on 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.

…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
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.

1 participant