Skip to content

lawvs/lark-bot-worker

Repository files navigation

Lark Bot Worker

Workflow

Deploy to Cloudflare Workers

Lark/Feishu bot on Cloudflare Workers.

Features

  • Forward GitLab's comment to Feishu/Lark

image

Usages

  • Deploy bot to Cloudflare Workers

  • Add Webhooks at GitLab

image

Config

Environment variables:

CLOUDFLARE_ACCOUNT_ID=xxx
CF_API_TOKEN=xxx
# (Optional)
CF_ZONE_ID=xxx

# Lark/Feishu bot webhook
WEBHOOK=https://open.feishu.cn/open-apis/bot/v2/hook/xxxxxxxxxxxx
# (Optional) Lark/Feishu bot signature secret
SIGN_SECRET=xxxxxxxxxxxx

References