open-error-codes-pr: Change codegen label to match existing patterns#68
Conversation
34a0105 to
94e8534
Compare
|
Your development orb has been published. It will expire in 30 days. |
|
Your development orb has been published. It will expire in 30 days. |
1 similar comment
|
Your development orb has been published. It will expire in 30 days. |
|
Your orb has been published to the CircleCI Orb Registry. |
- Adds a Danger check to prevent modification of autogenerated files from [purchases-error-codes](https://github.com/RevenueCat/purchases-error-codes). Calls a function defined in [RevenueCat/Dangerfile](RevenueCat/Dangerfile#16) - Bumps the [shared orb](RevenueCat/sdks-circleci-orb#68) to get the proper labels on the generated PRs <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > CI and Danger policy only; no runtime SDK or auth/data behavior changes. > > **Overview** > Adds a **Danger** guard that fails PRs that touch files under `src/generated/` (e.g. autogenerated `error-codes.ts` from purchases-error-codes), using the shared `fail_on_generated_edits` helper from **RevenueCat/Dangerfile**. > > Bumps the **sdks-common-config** CircleCI orb from `3.21.0` to `3.21.1` so automated `update_error_codes` PRs get the correct labels. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 680579e. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
Let's not break the
pr:pattern.After this is done I'll release a new orb and bump it in consumers together with the check that prevents modifications to generated files