Fix stage source check: run after checkout #24

Merged
will.anderson merged 1 commits from fix/stage-source-check into dev 2026-05-09 23:40:04 +00:00
Owner

The 'Enforce dev-only source' step was first in the job, before checkout. It runs git log -1 to inspect commit parents, but the workspace isn't a git repo yet — so git exits 128 with 'not a git repository'. Fix: move the step to after Checkout.

The 'Enforce dev-only source' step was first in the job, before checkout. It runs git log -1 to inspect commit parents, but the workspace isn't a git repo yet — so git exits 128 with 'not a git repository'. Fix: move the step to after Checkout.
will.anderson added 1 commit 2026-05-09 23:38:06 +00:00
Fix stage source check: run after checkout, not before
Dev — Build & local smoke test / build-smoke (pull_request) Successful in 1m29s
345f9be81a
git log -1 fails with 'not a git repository' when the workspace
hasn't been checked out yet. Move the Enforce dev-only source step
to after the Checkout step.
will.anderson merged commit b27aab20ee into dev 2026-05-09 23:40:04 +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#24