Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Reproduce the github webhook when commit.

Project description

Commit hook (github) Logo

Reproduce Commit webhook from github.

MIT Licence

Motivation

Github webhook are super awesome! But are not available to everyone since only the owner of the repo can create webhook. Sometimes it's very frustrating because you would like to do action in response to an other action concerning a repo that you don't own. That's why I created this little package.
It checks if a new commit has been pushed, then hit a webhook.

Install

Python 3.6 or higher is required

pip install ...

Usage

The ideal is to create a crontab of your choice that execute this script.
For example, a crontab that check everyday if a new commit has been pushed to a repo, then react in consequence.

Cli usage

lcommit [usernameGithub] [repoName] [urlToHit] [locationConfig]

License

MIT Paul Rosset

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
lcommit.hook-1.0.5.tar.gz (1.7 kB) Copy SHA256 hash SHA256 Source None Aug 14, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page