[Workflow] Fetch base branch from base repo, not origin, in CI doc-ch… - #1704
Open
Shankar Easwaran (quic-seaswara) wants to merge 1 commit into
Open
[Workflow] Fetch base branch from base repo, not origin, in CI doc-ch…#1704Shankar Easwaran (quic-seaswara) wants to merge 1 commit into
Shankar Easwaran (quic-seaswara) wants to merge 1 commit into
Conversation
…ange check PRs from forks set origin to the head repo, which often lacks the base release branch (e.g. release/23.x), causing "couldn't find remote ref" in the non-doc-change check. Fetch directly from the PR's base repo instead and diff against FETCH_HEAD. Signed-off-by: Shankar Easwaran <seaswara@qti.qualcomm.com>
Shankar Easwaran (quic-seaswara)
force-pushed
the
fix_ci
branch
from
August 14, 2026 03:11
a9d5eb0 to
29dbd00
Compare
Shankar Easwaran (quic-seaswara)
requested review from
Brian Cain (androm3da),
Eli Friedman (efriedma-quic) and
Parth (parth-07)
August 14, 2026 03:15
Contributor
|
I did not realize that you had already raised a fix for this 😅 |
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.
PRs from forks set origin to the head repo, which often lacks the base release branch (e.g. release/23.x), causing "couldn't find remote ref" in the non-doc-change check. Fetch directly from the PR's base repo instead and diff against FETCH_HEAD.