Ignore auto-generated code from checks#7414
Merged
gilluminate merged 3 commits intomainfrom Feb 18, 2026
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Kelsey-Ethyca
approved these changes
Feb 18, 2026
Contributor
Greptile SummaryUpdates the PR size check GitHub Action to exclude auto-generated code directories from both line count and file count limits, and includes sample auto-generated files to verify the exclusion works.
Confidence Score: 5/5
Important Files Changed
Last reviewed commit: 3578267 |
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.
Description Of Changes
Since auto-generated code doesn't need to be reviewed, but does need to be committed, it shouldn't count toward PR size limits. These changes provide an exclusion list of directories containing auto-generated code.
Code Changes
AUTOGENERATED_PATHSarray of directories. Initially this list consists of:'clients/admin-ui/src/types/api/'(auto-generated fromfidesplusopenapi types)'clients/fides-js/docs/'(auto-generated markdown from the jsdocs in'clients/fides-js/src/docs/')Steps to Confirm
npm run openapi:generate, open the results of the code size check and verify that these do not count toward the overall counts. (eg. "PR size check passed (13 lines, 2 files, 2 files excluded)")Pre-Merge Checklist
CHANGELOG.mdupdated