-
-
Notifications
You must be signed in to change notification settings - Fork 775
chore: openapi-diff on PRs #10100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: openapi-diff on PRs #10100
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a proof-of-concept for automatically generating and displaying OpenAPI spec differences on pull requests.
- Modified the "dev:backend" command in package.json to allow for an environment variable override for NODE_ENV.
- Added a new GitHub workflow (.github/workflows/openapi-diff.yaml) that generates OpenAPI specs from both stable and current branches, computes their diff, and posts the result as a PR comment.
- Updated build.yaml and the docker-compose.test.yml file to support the new changes.
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
package.json | Updated NODE_ENV usage in the "dev:backend" command |
.github/workflows/openapi-diff.yaml | Added comprehensive steps to generate and post the OpenAPI diff |
.github/workflows/build.yaml | Added a trigger path for new workflow changes |
.github/docker-compose.test.yml | Modified image reference to include an environment variable fallback |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
About the changes
PoC openapi diff