Dependabot PRs target the main branch by default and there is no setting to change this. Our development workflow requires these PRs to target the develop branch instead. If we forget to manually change to the target branch for a PR, then we risk committing directly to main (as has happened before).
Solution: Implement a GitHub Action that automatically changes the target branch from main to develop for all Dependabot PRs.
Dependabot PRs target the
main
branch by default and there is no setting to change this. Our development workflow requires these PRs to target thedevelop
branch instead. If we forget to manually change to the target branch for a PR, then we risk committing directly to main (as has happened before).Solution: Implement a GitHub Action that automatically changes the target branch from
main
todevelop
for all Dependabot PRs.