-
Notifications
You must be signed in to change notification settings - Fork 24
Only auto-update with no auto-merge #33
Comments
This GitHub Action is best used when you have a CI and a code review process in place. When that's the case, you don't usually want to trigger too many unnecessary builds because it would be costly and wasteful. This is what would happen with a behavior of doing "auto update" but not "auto merge". I think it's a good practice to only label a PR with |
Thank you, |
Our workflow allows the reviewer to make comments/suggestions that are not hard requirements for merging (gives approval + comments, new commits don't invalidate the approval). The author can decide if the PR will be merged as-is or if the comments will be addressed. In this workflow, the automerge behavior is not wanted. Do you know how to support this workflow? Do you know perhaps of a different action that provides only the "update" part? |
Also interested in this use-case. |
Yeah, I am looking for something that keeps branches up to date with their base automatically. If this action is expected to only be used after a PR has been approved, then what are you doing to keep your PRs up to date with the base? Also, isn't it a bad idea to approve a PR that isn't up to date with the base? If so, then I guess the expectation is that the branch is manually merged before the review process starts? |
Hi, any updates here? I would also like to only use the autoupdate if base branch changes. @tibdex I have to disagree on |
What are these reasons?
That's similar to #28 (comment). Why don't you let the authors add the
Nothing. What's the point of keeping un-reviewed/approved PRs up to date with their base just for the sake of it? It's just needlessly burning CI credits no?
It's not necessarily a bad idea since the PR changes can be orthogonal to the commits that landed on Also, this can be unavoidable if the repo has a lot of activity. |
I think you could have rules about what an active vs stale branch is. Don't auto update a branch that hasn't had non-automated merge updates for X days. Also, we could use the draft PR feature to keep from getting automated merges before the branch is ready to be considered for merging. |
We are trying to find a solution to auto-update (preferably rebase) "active" PR's only. Active could be something like "activity within last 24h", where activity = {comments, commits, ...}. |
This is basically what everyone here is asking for: https://github.com/tibdex/auto-update Thanks @tibdex |
Is it possible to configure the action to only auto-update the branch but not auto-merge?
If it be controlled by different labels it'll be amazing (autosquash / automerge)
The text was updated successfully, but these errors were encountered: