Danger: block manual edits to generated error codes#6996
Merged
Conversation
a48aaff to
5314050
Compare
Call the shared fail_on_generated_edits helper for Sources/Generated/ (bypass via pr:auto_codegen). Bump orb to 3.21.1, which applies the pr:auto_codegen label.
5314050 to
a153497
Compare
ajpallares
approved these changes
Jun 15, 2026
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.
Note
Low Risk
CI and Danger policy only; no runtime SDK or app behavior changes.
Overview
Adds a Danger guard so PRs that touch
Sources/Generated/fail CI, steering error-code updates through thepurchases-error-codes/update-error-codesautomation instead of hand edits (via sharedfail_on_generated_editsfrom RevenueCat/Dangerfile).Bumps the CircleCI
revenuecat/sdks-common-configorb 3.21.0 → 3.21.1 so automated error-code PRs get the expected labels from the shared orb.Reviewed by Cursor Bugbot for commit a153497. Bugbot is set up for automated code reviews on this repo. Configure here.