fix(ci): create PR instead of direct push for sdkx dependency bumps#15
Merged
Conversation
The auto-tag workflow's "Cascade sdk bump to sdkx" step was pushing directly to main, which fails due to branch protection requiring CI status checks. Fix by creating a PR via gh cli instead. Also fixes the "Tag sdkx" step condition (`success()` was always true) to only run when sdk was NOT tagged (independent sdkx changes). When sdk IS tagged, the bump PR merge will re-trigger auto-tag to tag sdkx. Additionally bumps sdkx/go.mod to sdk v0.1.6 (the version that failed to propagate due to this bug). Made-with: Cursor
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.
Summary
main, which is rejected by branch protection (requires CI status check). Changed to create a PR viagh pr createinstead.if: env.TAGGED_SDK != '' || success()was always true. Now usesif: env.TAGGED_SDK == ''so it only runs for independent sdkx changes. When sdk is tagged, the bump PR merge re-triggers auto-tag to tag sdkx automatically.Test plan
Made with Cursor