Metadata-Version: 2.1
Name: github-overlord
Version: 0.4.3
Summary: Automatically merge Dependabot PRs in public repositories
Home-page: https://github.com/iloveitaly/github-overlord
Keywords: github,dependabot,automation
Author: Michael Bianco
Author-email: mike@mikebian.co
Requires-Python: >=3.11,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: apscheduler (>=3.10.4,<4.0.0)
Requires-Dist: click (>=8.1.7,<9.0.0)
Requires-Dist: funcy-pipe (>=0.11.0,<0.12.0)
Requires-Dist: openai (>=1.33.0,<2.0.0)
Requires-Dist: pygithub (>=2.3.0,<3.0.0)
Requires-Dist: python-decouple-typed (>=3.11.0,<4.0.0)
Requires-Dist: structlog (>=24.2.0,<25.0.0)
Description-Content-Type: text/markdown

[![Release Notes](https://img.shields.io/github/release/iloveitaly/github-overlord)](https://github.com/iloveitaly/github-overlord/releases) [![Downloads](https://static.pepy.tech/badge/github-overlord/month)](https://pepy.tech/project/github-overlord) [![Python Versions](https://img.shields.io/pypi/pyversions/github-overlord)](https://pypi.org/project/github-overlord) ![GitHub CI Status](https://github.com/iloveitaly/github-overlord/actions/workflows/build_and_publish.yml/badge.svg) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

# GitHub Overlord

GitHub Overlord is a Python script that automatically merges Dependabot PRs in public repositories that have passed CI checks.

This simple project has also given me the chance to iterate on my nixpacks github actions project.

## Installation

```shell
pip install github-overlord
```

## Usage

```shell
Usage: github-overlord [OPTIONS]

  Automatically merge dependabot PRs in public repos that have passed CI
  checks

Options:
  --token TEXT  GitHub token, can also be set via GITHUB_TOKEN
  --dry-run     Run script without merging PRs
  --repo TEXT   Only process a single repository
  --help        Show this message and exit.
```

### Docker Cron

There's a docker container you can use to run this on a cron. [Fits nicely into a orange pi.](https://mikebian.co/pi-hole-tailscale-and-docker-on-an-orange-pi/)

Check out [docker-compose.yml](./docker-compose.yml) for an example, or `git pull ghcr.io/iloveitaly/github-overlord:latest`.
