Add update-error-codes workflow#6981
Merged
Merged
Conversation
b63c2e2 to
98d9caa
Compare
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.
Adds the
update-error-codesworkflow (gated onaction=update_error_codes) that runsrevenuecat/update-error-codes@3.21.0onmacos-executor: copies the generatedSources/Generated/ErrorCode.swiftfrom purchases-error-codes, refreshes the swiftinterface baselines, and opens/updates the PR. Bumps the orb to 3.21.0.Merge after the orb is published and the plugin pin is bumped (
bundle update fastlane-plugin-revenuecat_internal).Note
Low Risk
CI and dependency pin changes only; no runtime SDK logic. Merge timing depends on orb 3.21.0 being published as noted in the PR description.
Overview
Adds a manual CircleCI pipeline action
update_error_codesso CI can sync generated error codes and open/update a PR without running the fullrelease-or-mainsuite on that trigger.The new
update-error-codesworkflow runs whenaction=update_error_codes, invokingrevenuecat/update-error-codesfromrevenuecat/sdks-common-config@3.21.0(orb bumped from 3.20.0). It targets iOS, writesSources/Generated/ErrorCode.swift, commitsSources/Generated/ErrorCode.swiftandapi, usesmacos-executorwith the swiftinterface Xcode version, and runsupdate_swiftinterface_baselinesfor the RevenueCat scheme afterinstall-dependencies.release-or-mainnow skips whenactionisupdate_error_codes(same pattern asbump).Gemfile.lockpins a newerfastlane-plugin-revenuecat_internalrevision for the orb/plugin stack.Reviewed by Cursor Bugbot for commit 98d9caa. Bugbot is set up for automated code reviews on this repo. Configure here.