-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native Dependabot is not behaving the same as dependabot-preview #3725
Comments
The behavior in both should be, "auto-rebase when there is a reason why it would need to rebase, e.g. there are merge conflicts" not "rebase any time anything changes". I'll let some folks on the team color more in around the specifics, but auto-rebase still exists.
See #2268 for why automerge isn't currently supported. |
There's currently no way to tell dependabot to always rebase if the target branch is updated. There's currently only an It's not ideal, but you could set up a github action that is triggered on all pushes to the target branch and comments on open dependabot PRs with |
@asciimike Yes! I have linear history protection. So dependabot should identify that and trigger a rebase automatically.
@asciimike I'm not sure that's automerge... I don't want Dependabot to simply merge things on its own. I want it to merge and close the PR after I review and approve it (as there are restrictions requiring at least one review for a PR to be merged). It's unnecessary and inefficient if, for every PR, I have to both approve and then type |
@feelepxyz , but |
Ok, it's this feature (the top one unchecked): I think the closest feature is GitHub's automerge, where you approve a PR and it to merge once checks pass, which should be equivalent (e.g. wait for checks to pass, approval, etc.). |
@gustavovnicius you could set up an action that enables the github-native automerge on dependabot PRs, e.g.
And then set up branch protection with required approvals: |
Closing, as I think the current behavior is probably what we're going to stick with for now. I realize it's not an exact match for Dependabot-preview, but the suggested alternative solutions are good enough, such as GitHub's native automerge. I don't see us investing the time to change any of this anytime soon as it works "good enough". |
Native Dependabot is not showing the same behavior as dependabot-preview in two regards:
target-branch
(akamain
,master
) gets updated. I have linear history protection enabled. The behavior I expect is that whenever something gets pushed into the target branch, that dependabot's branches get updated (rebased and force pushed, or re-ran from the latest target branch)@dependabot merge
(or equivalent). The behavior I expect is that Dependabot merges the PR automatically when I approve it.Both behaviors that are expected, are how
dependabot-preview
always worked.Basic info:
Package ecosystem
maven
Package manager version
Language version
Various java versions
Manifest location and content prior to update
N/A
Updated dependency
N/A
Native package manager behavior
N/A
Images of the diff or a link to the PR, issue or logs
Previous behavior in Dependabot Preview:
N/A
Current behavior in GitHub-native Dependabot:
N/A
The text was updated successfully, but these errors were encountered: