Skip to content

Autoapprove/automerge bot PRs? #231

@kmpaul

Description

@kmpaul

It seems that enabling automerging of PRs on a GitHub repository only allows people to enable automerging on specific PRs. That is, all PRs will not automerge. This creates some noise for us every time dependabot or pre-commit-ci[bot] create PRs to update dependencies or pre-commit configuration. Or am I missing something?

I'm wondering if we can deploy some mechanism for autoapproving and automerging PRs created by bots (e.g., dependabot and pre-commit.ci) when they pass all tests. Something like this:

https://github.com/MobileTeleSystems/mlflow-rest-client/actions/runs/1880831594/workflow

could be deployed on our repos to do this. This workflow demonstrates the alexwilson/enable-github-automerge-action@1.0.0 action and the hmarr/auto-approve-action@v2 action.

Metadata

Metadata

Assignees

No one assigned

    Labels

    infrastructureInfrastructure related issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions