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.
PR #2462 shows this workflow in action: It automatically changed the base branch for the PR to develop.
From issue #2456:
PR #2462 shows this workflow in action: It automatically changed the base branch for the PR to develop.