-
Notifications
You must be signed in to change notification settings - Fork 150
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
An easy way to refresh a pull-request adding a contributor #62
Comments
Another way would be to have a stale bot which would label the issue/PR when it gets past the set threshold and then the AC bot could find out easily which of its PR are stale? |
Dealing with merge conflicts was my main reason for dropping all contributors in anticipation of this bot. If you have two PR's open from the bot, it sounds like one of them is going to end up with a conflict when the other is merged. Is it possible for the bot to work similar to the Renovate bot, which watches the repo and updates it's own PR's whenever they encounter a merge conflict? |
@erquhart that would be awesome! If you've got any pointers on implementing it, we're all ears. |
Something like:
Note that the last step is subject to false positives - PRs that aren't mergeable, but for reasons that have nothing to do with the all-contribs bot. But considering you only get this far if specific files were touched, it would take a bit of a perfect storm to trigger enough false positives to make noise. Probably okay to follow up on this concern in a future release if folks complain. |
@tech4him1 had a great idea that may be even better, providing an option to commit directly rather than opening a PR. Possible? Mentioned in decaporg/decap-cms#2015. |
@erquhart The master branch is locked so only merged PRs can go through but there's probably a way to get the bot to bypass this. |
There's a |
@erquhart the auto-commit is interesting, would need information about users who would be authorized to comment and have a user added. All for auto-refreshing the PR. Do you think just having PRs non-stale would be enough? e.g. just clicking merge. |
I suppose it was more of an issue because we typically had contributors add themselves in the same PR as their first contribution, merging immediately wasn't an option, while it would be with the bot. But if we're merging right away to ensure against conflicts, commit seems more appropriate than pull request. We could list authorized users in the bot config. |
More to your point, though, I agree that "just merge it" is fair for the mvp of this bot. Commit would be a nice no-hassle option. |
@erquhart Would you mind opening a PR for that? |
Would love to, but no bandwidth for it at the moment. |
Hey, sorry for interrupting. Are there any updates? |
@Hans5958 No work (AFAIK) has been done on this and the team has shrunk since this issue was opened. Feel free to create a PR for this. |
Is your feature request related to a problem? Please describe.
When multiple contributors are being added, a PR could become stale (i.e not up to date with master/conflicts with the master branch). We should have a way to auto resolve this.
Describe the solution you'd like
@all-contributors please refresh this PR
Describe alternatives you've considered
Alternatively, we could watch for
merge
event son pull requests opened by the bot, and refresh the PR:Additional context
The text was updated successfully, but these errors were encountered: