When running CI builds for PRs from external contributors, on a fork of our repo, the Format Code build step fails.
For example, this run against the thisisthekap:br_3876_add_mapping_for_EnableAppHangTrackingV2 branch yields:
Run ./scripts/commit-formatted-code.sh $GITHUB_HEAD_REF
...
error: pathspec 'br_3876_add_mapping_for_EnableAppHangTrackingV2' did not match any file(s) known to git
I assume it's trying to push to a branch on our local repo that doesn't exist.