Skip to content

ci: block manual edits to generated schemas - #867

Draft
JasonCWang wants to merge 1 commit into
mainfrom
ci/guard-generated-schemas
Draft

ci: block manual edits to generated schemas#867
JasonCWang wants to merge 1 commit into
mainfrom
ci/guard-generated-schemas

Conversation

@JasonCWang

Copy link
Copy Markdown
Contributor

Some schemas under openapi/components/schemas/ are generated and synced automatically, so manual edits to them are reverted by the next sync.

This adds a check that fails a pull request which edits one of those files. The list comes from openapi/generated-schemas.txt, which the sync writes. Until that file exists, the check passes.

To make an intentional edit, add the edit-generated-schemas label.

@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
grid-flow-builder Ignored Ignored Preview Aug 26, 2026 12:09am
grid-wallet-demo Ignored Ignored Preview Aug 26, 2026 12:09am

Request Review

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