ci: harden openapi auto-regeneration and streamline config#968
Merged
gildesmarais merged 2 commits intomainfrom May 1, 2026
Merged
ci: harden openapi auto-regeneration and streamline config#968gildesmarais merged 2 commits intomainfrom
gildesmarais merged 2 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR tightens the CI workflow around OpenAPI artifact regeneration (especially for release-please PRs) and simplifies the release-please configuration by removing generated frontend client files from the version-bump list.
Changes:
- Update the OpenAPI CI job to be able to commit/push regenerated artifacts back to the PR branch (with write permissions and full git history).
- Avoid creating empty commits by only committing when
git diff --stageddetects changes. - Simplify
release-pleaseextra-files to track onlypublic/openapi.yaml(in addition tofrontend/package.json).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/ci.yml | Adds write permissions and PR-branch checkout/push logic for auto-regenerating OpenAPI artifacts on release-please PRs. |
| .github/release-please-config.json | Removes generated TS client artifacts from release-please extra-files, leaving public/openapi.yaml as the tracked OpenAPI-related file. |
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.
This pull request updates the OpenAPI release and CI workflow to improve automation and commit handling. The most significant changes focus on how OpenAPI artifacts are managed and committed during the CI process.
OpenAPI artifact management and CI workflow improvements:
contents: writepermissions and ensures the correct git reference is checked out, which is important for release automation and branch consistency.Release configuration:
.github/release-please-config.jsonfile has been updated to only includepublic/openapi.yamlin the release process for OpenAPI artifacts, removing the frontend generated client files from direct release tracking.