Introduce same-branch-only input, used to explicitly control whether a workflow runs should be synchronized across branches. The default remains true but can now be overridden to false#7
Favour GITHUB_HEAD_REF for branch name when present, typically the case for pull_request triggers #8