-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.github.toml
27 lines (26 loc) · 990 Bytes
/
example.github.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[global]
address = "127.0.0.1"
port = 4567
keep_alive = 5
read_timeout = 5
write_timeout = 5
log_level = "normal"
# The secret that was used when you enabled webhooks for the repository.
secret_key = "secret"
[global.github]
# Create a matrix user name for this bot.
# Magit will attempt to register this user if not already registered.
user_name = ""
# Matrix user password.
password = ""
# Github user token.
user_token = ""
# The repositories that should be watched for webhook events and commands.
repos = [ { repo = "DevinR528/magit", room = "!someroom:matrix.org" } ]
# The events that should be watched for.
# A full list can be found here
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#in-this-article
# although not all of them are implemnted feel free to open a PR!
events = ["issues", "pull_request", "ping", "push", "star", "status"]
# The format string to use for the specific event.
pull_request = "[{repository}] {user} {}"