Fix stage source check to use git parents #19
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 source enforcement in stage.yaml parsed the commit subject line to verify the merge came from dev. This broke when tea pr merge was used with a custom -t title.
Replaced with a git-parent check: if the merge commit's second parent is an ancestor of origin/dev, the merge came from dev — regardless of what the subject line says.