Fix stage source guard: fetch origin/dev before ancestry check #101

Merged
will.anderson merged 1 commits from fix/stage-ci-paths into dev 2026-05-11 19:09:39 +00:00
Owner

Shallow clone didn't include origin/dev so git merge-base --is-ancestor silently failed. Adds git fetch --depth=1 origin dev before the check.

Shallow clone didn't include origin/dev so git merge-base --is-ancestor silently failed. Adds git fetch --depth=1 origin dev before the check.
will.anderson added 1 commit 2026-05-11 19:09:23 +00:00
Fix stage source guard: fetch origin/dev before ancestry check
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 2m22s
5d3b1a3e20
The shallow clone (fetch-depth: 2) doesn't include origin/dev, so
git merge-base --is-ancestor was silently failing. Fetch dev with
depth=1 first so custom merge commit titles still pass the check.
will.anderson added 1 commit 2026-05-11 19:09:24 +00:00
Fix stage source guard: fetch origin/dev before ancestry check
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 2m22s
5d3b1a3e20
The shallow clone (fetch-depth: 2) doesn't include origin/dev, so
git merge-base --is-ancestor was silently failing. Fetch dev with
depth=1 first so custom merge commit titles still pass the check.
will.anderson merged commit 9e5d7e55ab into dev 2026-05-11 19:09:39 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/neuron-web#101