An open API service indexing awesome lists of open source software.

https://github.com/ccnmtl/mergedd

A utility to merge the latest pull request on a branch
https://github.com/ccnmtl/mergedd

Last synced: about 2 months ago
JSON representation

A utility to merge the latest pull request on a branch

Awesome Lists containing this project

README

        

# Mergedd

A little utility to merge an outstanding pull request on a named branch across multiple repositories. The code uses the Github API to find the outstanding pull request on a branch, check on the status of a pull request and issue a merge command if all checks are green.

To use this utility, you'll need to generate a [personal access token](https://github.com/settings/tokens).

Then make the project:

```make```

Construct a file with a list of repositories. By default, the runner looks for `repos.txt`.
```
$ cat repos.txt
repo_one
repo_two
repo_three
```

Merge the prs:

```ve/bin/python ./runner.py --owner --branch --api_token ```

This is a sister utility to [Upgrayedd](https://github.com/ccnmtl/upgrayedd) authored by `@thraxil`.