Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure we start from
main
even if workflow run from a branch
I kept having problems while testing #7324 until I realized that because I was doing my testing on a branch, `actions/checkout` was starting from the branch and then opening a PR against `main`, so it included not only the commit generated within this workflow, but also whatever other commits I'd made during my testing. For this particular workflow, we always want to start from `main` as we're building a PR that should only contain the version bump commit.
- Loading branch information