-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
33 lines (28 loc) · 836 Bytes
/
config.py
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
"""Module to create the githubapp Configs"""
from typing import NoReturn
from githubapp import Config
def default_configs() -> None:
"""Create the default configs"""
Config.BOT_NAME = "bartholomew-smith[bot]"
Config.TIMEOUT = "8"
Config.create_config(
"pull_request_manager",
enabled=True,
create_pull_request=True,
link_issue=True,
enable_auto_merge=True,
merge_method="SQUASH",
auto_approve=False,
auto_approve_logins=[],
auto_update=True,
)
Config.create_config("release_manager", enabled=True)
Config.create_config(
"issue_manager",
enabled=True,
handle_tasklist=True,
create_issues_from_tasklist=True,
close_parent=True,
close_subtasks=True,
handle_checkbox=True,
)