-
Notifications
You must be signed in to change notification settings - Fork 2
/
sample.config.yaml
66 lines (62 loc) · 2.39 KB
/
sample.config.yaml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
github:
# Your github access token. Create one at https://github.com/settings/tokens
# Needs repo:public_repo and admin:org:read:org permissions
access_token: 1234567890abcdefghijklmnopqrstuvwxyz
labels:
# Denotes an issue/pr as a proposal
proposal: proposal
# The label that denotes a proposal is in review
proposal_in_review: proposal-in-review
# The label that denotes a proposal is in fcp
fcp: final-comment-period
# Denotes a proposal as fcp proposed
fcp_proposed: proposed-final-comment-period
# Denotes a proposal as fcp finished
fcp_finished: finished-final-comment-period
# Denotes a proposal as fcp proposed with a disposition of merge
disposition_merge: disposition-merge
# Denotes a proposal as fcp proposed with a disposition of close
disposition_close: disposition-close
# Denotes a proposal as fcp proposed with a disposition of postpone
disposition_postpone: disposition-postpone
# Denotes a proposal current has outstanding concerns
unresolved_concerns: unresolved-concerns
# The repository where proposals are stored
repo: matrix-org/matrix-spec-proposals
# Organization containing the proposal team
org: matrix-org
# Team name whose members have the power to influence proposals
team: spec-core-team
# Path to a jinja2 template for the text that the bot will post when an FCP is proposed
fcp_proposal_template_path: comment_templates/fcp_proposal.j2
fcp:
# Length of a final comment period in days
time_days: 5
# Required percentage of team votes to pass an FCP proposal
required_team_vote_ratio: 0.75
database:
# The path to a postgres database for state storage
path: "postgres://mscbot:itsasecret@localhost/mscbot?sslmode=disable"
webhook:
# Address to listen on
host: 0.0.0.0
# Port to listen on
port: 5050
# Path to listen for
path: /webhook
# Your webhook secret that was given to github
secret: zyxwvutsrqponmlkjihgfedcba0987654321
logging:
# Max logging level
# Allowed levels are 'INFO', 'WARNING', 'ERROR', 'DEBUG' where DEBUG is the most verbose
level: INFO
# Configure logging to a file
file_logging:
# Whether logging to a file is enabled
enabled: false
# The path to the file to log to. May be absolute or relative
filepath: mscbot.log
# Configure logging to the console output
console_logging:
# Whether logging to the console is enabled
enabled: true