Skip to main content

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.

Source Distribution

lcommit.hook-1.0.5.tar.gz (1.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page