Repository navigation
Reconcile each PR CI annotation from its base branch - #14911
Closed
cttsai-stripe wants to merge 2 commits into
Closed
cttsai-stripe wants to merge 2 commits into
cttsai-stripe wants to merge 2 commits into
Conversation
Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com>
Committed-By-Agent: codex Co-authored-by: codex <noreply@openai.com>
cttsai-stripe
added this pull request to stack #14914
October 8, 2026 04:59
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
Reconcile the CI annotation on only the PR that triggered this workflow. Same-repository PRs targeting a branch other than master receive an action-owned Bitrise skip block. When the PR targets master, the workflow removes its own block.
Motivation
Make child PRs skip Bitrise by default and restore CI when they become standalone or the first PR targeting master. Each run fetches the current PR before editing; it does not inspect or modify other PRs and does not depend on GitHub stack metadata.
Authors can add
<!-- pr-base-ci:run -->on its own line in the description to run CI while targeting another branch. Removing the managed skip marker also records that override, so later pushes do not re-add it. Remove the override to resume automatic gating. Manual skip annotations outside the managed block are preserved, including on PRs targeting master.Testing
.githubchanges map to full Gradle checks.Notes
This policy also skips ordinary feature-branch PRs by default unless overridden. Fork PRs and Dependabot PRs are excluded from annotation because their PR workflows normally have read-only tokens. This alternative uses the PR workflow version, so it can be exercised from a draft branch for same-repository PRs. An action cannot prevent a build already started by Bitrise's initial webhook or cancel an in-flight build. A concurrent description edit can race the final read/update.
Screenshots
Not applicable. CI automation.
Changelog
Not needed. No SDK or public API behavior changes.
Committed and created by Codex.