feat: add OpenAPI schema build to release workflow - #1050
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds OpenAPI schema generation to the release workflow so the schema JSON can be published alongside each GitHub Release.
Changes:
- Set up Node.js in the
release-softwarejob. - Run the OpenAPI/model build (
npm ci+npm run build:models) during release. - Upload the generated schema JSON as a release asset (skipped on
dry_run).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
Suppressed comments (1)
.github/workflows/release-software.yml:115
- This adds schema build/upload after the GitHub Release is created. If the schema build fails, the workflow will leave behind a published release (and potentially pushed image) without the OpenAPI asset. Also,
gh release uploadwill fail on workflow reruns if the asset already exists. Consider (1) building the schema before creating the release, (2) using.nvmrcfor the Node version to avoid duplicating version bumps, (3) usingGH_TOKENforgh(matching other workflows here), and (4) adding--clobberto make reruns idempotent.
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 24
j-zimnowoda
approved these changes
Aug 6, 2026
j-zimnowoda
enabled auto-merge (squash)
August 6, 2026 09:50
j-zimnowoda
pushed a commit
that referenced
this pull request
Aug 7, 2026
(cherry picked from commit 2280a39)
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.
No description provided.