Skip to content

[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
release/23.xfrom
fix_ci
Open

[Workflow] Fetch base branch from base repo, not origin, in CI doc-ch…#1704
Shankar Easwaran (quic-seaswara) wants to merge 1 commit into
release/23.xfrom
fix_ci

Conversation

@quic-seaswara

Copy link
Copy Markdown
Contributor

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.

…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>
@parth-07

Copy link
Copy Markdown
Contributor

I did not realize that you had already raised a fix for this 😅

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