• Stars
    star
    1
  • Language
    Python
  • Created about 7 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Github Bot, which checks if pull requests and branches are rebased or not

is-branch-rebased

Github Bot, which checks if pull requests and branches are rebased or not

Usage

Open *-webhook.py file and make these changes:

ctx = GithubContext(
        token="", # github account personal token
        owner="", # repository owner
        repo=""   # repository name
    )

Also, change host and port for webhook:

app.run(host="0.0.0.0", port=12345)

Run webhook with python3

$ python3 isbranchrebased-webhook.py

Create webhook on github repo with rights "push" and "pull request"

And specify webhook's host+port.