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
- Host: GitHub
- URL: https://github.com/ccnmtl/mergedd
- Owner: ccnmtl
- License: gpl-3.0
- Created: 2020-10-22T00:12:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-28T13:45:13.000Z (over 4 years ago)
- Last Synced: 2025-02-16T00:44:09.420Z (4 months ago)
- Language: Python
- Size: 28.3 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`.