Default template for PDM package
Project description
Repo2Lark
优雅地转发 GitHub Webhook 事件到飞书。支持多种事件,支持自定义 Webhook Secret(仅独立部署)
使用
使用 Zeabur 上部署的公用服务
公用服务版不支持使用 GitHub Webhook Secret 和飞书 Webhook Secret。优点是使用方便,仅需替换 Webhook URL 即可。
具体步骤
- 在飞书群组中添加一个 Webhook 机器人。
- 获取飞书 Webhook URL(注:公用服务版不支持签名校验)
- GitHub Repo Settings 中填写 Webhook URL,选择需要的事件。填写
https://webhook.zeabur.app/webhook/{你的飞书 Webhook URL Token}
token 位于飞书 Webhook URL 结尾,形如b8b957dc-****...
- 现在,当有指定事件发生时,飞书群组中就会收到消息了。
使用 Zeabur 一键部署公用版
使用 Zeabur 一键部署独立版
TODO
使用 Docker 部署
TODO
安全性
使用 GitHub/飞书 Webhook Secret 可以提高安全性,但需要独立部署。
Supported Events
-
push
-
pull_request
-
assigned
-
review_request
-
-
pull_request_review
-
pull_request_comment
-
issue
- assigned
-
issue_comment
-
workflow_run
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
repo2lark-0.0.2.tar.gz
(20.6 kB
view details)
Built Distribution
repo2lark-0.0.2-py3-none-any.whl
(21.3 kB
view details)
File details
Details for the file repo2lark-0.0.2.tar.gz
.
File metadata
- Download URL: repo2lark-0.0.2.tar.gz
- Upload date:
- Size: 20.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f1ebb95ae6064233edfa882b84dae754ea746ae586de6be46fb8066e51989c5 |
|
MD5 | 14cbba23c94440f64afd3803857ddc1e |
|
BLAKE2b-256 | 3c501783aefa7426df4ede6a0d9bf71e7130f430f254046a94c2ab22ad8d8396 |
File details
Details for the file repo2lark-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: repo2lark-0.0.2-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2a5bf38d3b6958600bf7c60d7a2879800ac95b74247a86467cc34a6ca2a7cdb |
|
MD5 | ae6a784156090e8ffdbcdee82462f71d |
|
BLAKE2b-256 | 2267c349d50e1f696f5c63bf8e881b069903486ba6be79e13f28399e4c973596 |