HEAD^1 is only the new tip's parent: a push of several commits could lower the floor in an earlier one and pass. github.event.before is what main was before the push; a new branch (all zeros) falls back to HEAD^1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>