You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
To trigger action based on PR's head branch name instead base branch name, must use the github.head_ref context in a conditional. The branches property applies only to base branch.
Issue #2456
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.The text was updated successfully, but these errors were encountered: