Fix stage source check: run after checkout #24
Reference in New Issue
Block a user
Delete Branch "fix/stage-source-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.