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 details)

Uploaded Source

File details

Details for the file lcommit.hook-1.0.5.tar.gz.

File metadata

  • Download URL: lcommit.hook-1.0.5.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for lcommit.hook-1.0.5.tar.gz
Algorithm Hash digest
SHA256 cb7da7a486815aaa6764c002a62762e7522371575dd2b8b6b539525e947b6492
MD5 89764d808660412758edf1e91799cb07
BLAKE2b-256 b3450ea99076e81eaa8ac7f19c1d66bd27db0f91d096a6a24eb14d48769e145c

See more details on using hashes here.

Supported by

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