diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-12 09:20:17 +0300 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2026-05-12 06:22:29 +0000 |
| commit | f22520e40f94516e327b6bcc653978da9055157d (patch) | |
| tree | 8bdab8fa915485c2ee55d73e00d2fd3b058081fa /docs/_static/css/code-snippets.css | |
| parent | 4405affcec6d492488cfee01c70bd7e9edcbec02 (diff) | |
| download | vyos-documentation-f22520e40f94516e327b6bcc653978da9055157d.tar.gz vyos-documentation-f22520e40f94516e327b6bcc653978da9055157d.zip | |
ci(ai-validation): stop retargeting origin to fork URL
The previous CR-driven fix (7a7a8002) re-pointed origin to the PR's HEAD
fork on the assumption that claude-code-action calls
`git fetch origin <head-branch>`. That assumption is wrong for fork PRs:
the action detects a fork PR and fetches `pull/<n>/head` instead, and
those refs only exist on the base repo. Retargeting origin to the fork
therefore breaks the fork-PR fetch path with:
PR #<n> is from a fork, fetching via refs/pull/<n>/head...
fatal: couldn't find remote ref pull/<n>/head
Observed on run 25689321499 (PR #1891 from natali-rs1985/vyos-documentation).
Leave origin pointed at vyos/vyos-documentation (the base repo) — that's
where actions/checkout left it after the merge-ref checkout, and where
`pull/<n>/head` resolves. Replace the step with an explanatory comment.
🤖 Generated by [robots](https://vyos.io)
(cherry picked from commit 68f87deca228ad2b6b07c4eb64f201c0838e494f)
Diffstat (limited to 'docs/_static/css/code-snippets.css')
0 files changed, 0 insertions, 0 deletions
