跳转到主要内容

github webhooks

项目描述

安装

$ [sudo] pip install github-webhooks

配置

bash python
export GITHUB_TOKEN="your_github_token" os.environ["GITHUB_TOKEN"]="your_github_token"

示例

$ cd path/to/repo
$ python -m github_webhooks.create "push" https://xxx.execute-api.us-east-1.amazonaws.com/run
$ python -m github_webhooks.names
web
$ python -m github_webhooks.urls
https://xxx.execute-api.us-east-1.amazonaws.com/run
$ python -m github_webhooks.delete "web"

~/.github-webhooks.ini

[name]
  url = https://xxx.execute-api.us-east-1.amazonaws.com/run
  events = push
$ python -m github_webhooks.init "name"

链接

readme42.com

项目详情


下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

github-webhooks-2020.12.3.tar.gz (2.7 kB 查看哈希值)

上传时间:

由以下组织支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面