An implementation of webhook used to notify GitHub repository events to DingTalk.

Overview

GitHub to DingTask

An implementation of webhook used to notify GitHub repository events to DingTalk.

中文|英文

中文

开始吧

此程序可使用阿里云函数计算服务(FC),该服务提供URL可被GitHub仓库WebHook所使用。 由于FC每月有100万次的免费调用额度,所以无需担心费用问题。

首次使用请按如下步骤准备:

  • 安装Serverless Devs ,该工具用于部署服务和函数。
  • 配置Serverless Devs ,选择Alibaba Cloud provider进行配置。
  • 在钉钉群中添加自定义机器人,安全设置选择为"加签",获取WebHook和密钥。
  • 用上一步获取到的内容分别替换notification/conf.py中的webhooksecret变量的值。
  • 部署此程序:
$ s github-notification deploy
  • 访问 FC控制台 获取公网访问地址,将之作为GitHub仓库的WebHook。

支持的WebHook事件

  • fork
  • issue_comment/issues
  • pull_request/pull_request_review/pull_request_review_comment
  • push
  • star

许可

MIT

English

Getting Started

This program can be used in Alibaba Cloud Function Computing Service(FC), which provides url for GitHub repository webhook to use. There is no need to worry about incurring charges, because FC has 1 million free calls per month.

The following steps need to be prepared for the first use:

  • Install Serverless Devs, this tool is used to deploy services and functions.
  • Configure Serverless Devs for Alibaba Cloud provider.
  • Add a custom robot to DingTalk Group, select "Signature" as the security setting, and obtain the WebHook and secret key.
  • Replace the values ​​of the webhook and secret variables in notification/conf.py with the content obtained in the previous step.
  • Deploy the program:
$ s github-notification deploy
  • Visit the FC console to obtain the public network access address, and use it as the WebHook of the GitHub repository.

Supported WebHook events

  • fork
  • issue_comment/issues
  • pull_request/pull_request_review/pull_request_review_comment
  • push
  • star

License

MIT

You might also like...
Discord bot to monitor collection of mods on the Steam Workshop and notify on update to selected discord server via Nextcordbot API.
Discord bot to monitor collection of mods on the Steam Workshop and notify on update to selected discord server via Nextcordbot API.

Steam-Workshop-Monitor Discord bot to monitor collection of mods on the Steam Workshop and notify on update to selected Discord channel via Nextcordbo

A Telegram bot that scrapes websites for available vaccination appointments to notify users. (German)
A Telegram bot that scrapes websites for available vaccination appointments to notify users. (German)

@dachau_impf_bot 🇬🇧 A Telegram bot to check the contents of https://termin.dachau-med.de for available slots and inform users of the available dates

This is to notify you via Discord whenever there is a new beacon.
This is to notify you via Discord whenever there is a new beacon.

BeaconNotifier-Discord This is to notify you via Discord whenever there is a new beacon. Make sure you have python3 installed Steps: Create a Discord

Petit webhook manager by moi (wassim)

Webhook Manager By wassim oubliez pas de ⭐ le projet Installations il te faut python sinon quand tu va lancer le start.bat sa va tout installer tout s

KTUN Öğrenci Bilgi Sistemine bağlanıp her 15 dakikada notları kontrol eden ve değişiklik olduğu zaman size Discord Webhook ile mesaj atan uygulama.
KTUN Öğrenci Bilgi Sistemine bağlanıp her 15 dakikada notları kontrol eden ve değişiklik olduğu zaman size Discord Webhook ile mesaj atan uygulama.

KTUN_Obis KTUN Öğrenci Bilgi Sistemi KTUN Öğrenci Bilgi Sistemine selenium kullanarak girip setttings.py dosyasında verdiğiniz bilgeri doldurup ardınd

A free and open-source discord webhook spammer.

Discord-Webhook-Spammer A free and open-source discord webhook spammer. Usage Depending on your python installation your commands may vary. Below are

send sms via grafana alert webhook
send sms via grafana alert webhook

notifier fire alarm What does this project do: the aim of this project is to send alarm notification from grafana alert manager via kavenegar api. sta

Discord Webhook Proxy for Roblox payloads.
Discord Webhook Proxy for Roblox payloads.

RoProxy A Discord webhook proxy passthrough for roblox. Setup Your port and endpoint are in the config.json, make sure both app.py and config.json are

Discord Webhook Spammer (fastest)

Discord Webhook Spammer A simple fast asynchronous webhook spammer. Spammer Features Fast message spamming. Controllable speed. Noob friendly. Usage N

Owner
Prodesire
Pythonista. WeChat Public Account: Prodesire.
Prodesire
A management system designed for the employees of MIRAS (Art Gallery). It is used to sell/cancel tickets, book/cancel events and keeps track of all upcoming events.

Art-Galleria-Management-System Its a management system designed for the employees of MIRAS (Art Gallery). Backend : Python Frontend : Django Database

Areesha Tahir 8 Nov 30, 2022
Github repository started notify 💕

Github repository started notify ??

null 4 Aug 6, 2022
Monitor robot of Apple Store's products, using DingTalk notification.

概述 本项目应用主要用来监测Apple Store线下直营店货源情况,主要使用Python实现。 首先感谢iPhone-Pickup-Monitor项目带来的灵感,同时有些实现也直接使用了该项目的一些代码。 本项目在iPhone-Pickup-Monitor原有功能的基础上去掉了声音通知,但添加了多

Lennon Chin 159 Dec 9, 2022
The worst but simplest webhook bot for GitHub and Matrix.

gh-bot gh-bot is maybe the worst (but simplest) Matrix webhook bot for Github. Example of commits: Example of workflow finished: Setting up Server You

Jae Lo Presti 4 Aug 18, 2022
A simple python bot that serves to send some notifications about GitHub events to Slack.

github alerts slack bot ?? What is it? ?? This is a simple bot that serves to send some notifications about GitHub events to Slack channels. These are

Jackson Alves 10 Dec 10, 2022
Sends messages to a Discord webhook whenever you make a new commit to your local git repository.

Git-Notif Sends messages to a Discord webhook whenever you make a new commit to your local git repository. Usage Just drop notifier.py into your git h

null 1 May 29, 2022
Bot to notify when vaccine appointments are available

Vaccine Watch Bot to notify when vaccine appointments are available. Supports checking Hy-Vee, Walgreens, CVS, Walmart, Cosentino's stores (KC), and B

Peter Carnesciali 37 Aug 13, 2022
Short Program using Transavia's API to notify via email an user waiting for a flight at special dates and with the best price

Flight-Notifier Short Program using Transavia's API to notify via email an user waiting for a flight at special dates and with the best price Algorith

Wassim 2 Apr 10, 2022
This bot will send you an email or notify you via telegram & discord if dolar/lira parity breaks a record.

Dolar Rekor Kırdı Mı? This bot will send you an email or notify you via Telegram & Discord if Dolar/Lira parity breaks a record. Mailgun can be used a

Yiğit Göktuğ Budanur 2 Oct 14, 2021
Python app to notify via slack channel the status_code change from an URL

Python app to notify, via slack channel you choose to be notified, for the status_code change from the URL list you setup to be checked every yy seconds

Pedro Nunes 1 Oct 25, 2021