Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.
This repository was archived by the owner on May 1, 2025. It is now read-only.

RFW: Setting for GitHub PR auto-merge #22

@davegaeddert

Description

@davegaeddert

A new setting can be added called github_automerge. This would enable (or disable) the auto-merge option on a PR after it is created (or updated). At this point, it would need to use the GraphQL API because auto-merge isn't a part of the REST API yet:
https://docs.github.com/en/graphql/reference/mutations#enablepullrequestautomerge

The end of this function would be the place to start:

func (pr *PullRequest) CreateOrUpdate() error {

I don't think a GraphQL library/dependency is needed.


This RFW is currently worth $250 and you'll be paid when we merge your PR. You can find more information and other RFWs on the Dropseed website.

Any questions can be asked here or through our private contact page!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions