Skip to content

ci: skip native major versions in the auto-update workflow - #686

Merged
Shahroz16 merged 1 commit into
mainfrom
ci/auto-update-major-guard
Oct 27, 2026
Merged

Shahroz16 merged 1 commit into
mainfrom
ci/auto-update-major-guard

Conversation

@Shahroz16

Copy link
Copy Markdown
Contributor

The daily native SDK auto-update takes releases/latest without looking at the major. Both native SDKs are on 5.0.0 now, so tomorrow's 09:00 UTC run would open a routine-looking feat: PR moving main to native 5.0 while keeping cioiOSFirebaseWrapperSdkVersion at 1.1.0. That wrapper requires CustomerIOMessagingPushFCM < 5.0.0, so FCM installs wouldn't resolve, and merging it would ship a native major in a 6.x minor. Native 5.0 lands through #684 instead.

With this, a scheduled run skips a latest release whose major differs from the pinned one and leaves a warning in the run. A manual run that names the version still takes it, and patch and minor updates work as before. Merging this or #684 before the next scheduled run avoids the stray PR.

Checked the guard against six cases (new major skipped, same-major patch and minor taken, manual major taken, nothing to do on 5.0.0, API unavailable), and actionlint reports nothing new.

🤖 Generated with Claude Code

A native major needs a hand-written wrapper major (new pins, the Firebase wrapper, minimums).
The daily run now skips a latest release whose major differs from the pinned one; a manual run
that names the version can still take it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Shahroz16
Shahroz16 merged commit 4192726 into main Oct 27, 2026
16 checks passed
@Shahroz16
Shahroz16 deleted the ci/auto-update-major-guard branch October 27, 2026 11:02
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.

2 participants