Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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


Download files

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

Files for lcommit.hook, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size lcommit.hook-1.0.5.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page