Repository navigation
Add auto-merge feature for GitHub and GitLab - #903
Conversation
|
👋 @Skn0tt thanks for the contribution. |
@0x2b3bfa0 do you know of any way to programmatically enable auto-merge on GitHub? couldn't find anything in their API Docs |
It's only available through GraphQL as far as I know. See |
|
Would probably imply using |
The equivalent of what you do using octokit |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
But @Skn0tt is doing a synthetic "auto-merge" feature in GL using const endpoint = `/projects/${projectPath}/merge_requests/${mergeRequestId}/merge`;The equivalent is just merge as it is doing right now? |
This pull request makes use of |
|
@0x2b3bfa0 Are they the same? It seems that in GL merges if pipeline succeed I cant find that specs in the GH docs, maybe they are expecting to to additionally setup branch protection? |
|
All these features sound pretty similar to me. 🤔 GitHubGitLabBitbucket |
The issue that I see is that you must to upgrade then to use the feature? |
|
We should do a trial to see if it works as expected beforehand |
|
If not maybe just synthetic PR may work taking into account that merge would be the last op without having fail at least the current step in the workflow (not yet a successfully workflow) |
Good question. |
|
opens #916 |

CML is a great tool! We're using it to automatically pull in new data into our repository daily. Currently, we're reviewing + merging every PR manually. We'd like to automate this, and would like to use Gitlab's auto-merge feature to do so. This PR is a first iteration on supporting this. We'll test internally, and if it works, possibly extend the feature to the GitHub driver.