-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbase-config.yaml
More file actions
50 lines (44 loc) · 2.1 KB
/
base-config.yaml
File metadata and controls
50 lines (44 loc) · 2.1 KB
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
# Linear settings
linear:
# Linear webhook secret. This should be added to the webhook URL as the `secret` query parameter.
# If left as the default, a random secret will be generated automatically.
webhook_secret: "put a random password here"
# A personal access token for the Linear bot for non-user-specific actions.
token: "create a personal access token here"
# OAuth client ID and secret to let users log into the bot with their Linear account.
client_id: "linear OAuth client ID"
client_secret: "linear OAuth client secret"
# IDs of Linear organizations that are allowed to use the bot.
# Empty list disables the whitelist.
allowed_organizations: []
# Label IDs for issues that are releases and should be shared to the release room
release_label_ids: []
# Settings for reading data from GitLab for migration purposes
gitlab:
# GitLab instance base URL.
url: https://gitlab.com
# GitLab bot personal access token.
token: "create a personal access token with read api access here"
# GitLab webhook secret. If left as the default, a random secret will be generated automatically.
webhook_secret: "put a random password here"
# Whether the bot should handle non-prefixed commands in 1:1 rooms?
# (e.g. "ping" instead of "!linear ping")
prefixless_dm: true
# Mapping from GitLab repo to Linear team
team_mapping: {}
# Mapping from GitLab username to Linear user ID
user_mapping: {}
# Mappings from GitLab label to Linear team/state/label IDs
#
# label_mapping has GitLab label names as the keys, and an object with `team`, `state` and/or `label` keys as the
# value. Those keys should contain the Linear team, state or label IDs.
#
# label_name_mapping is a mapping from GitLab label names to Linear label names.
# The label IDs will be fetched from the server since they depend on the team.
label_mapping: {}
label_name_mapping: {}
# Whitelist for rooms and users who are able to be authenticated via the sender
# in the space.nevarro.standupbot.on_behalf_of field in the message content.
on_behalf_of_whitelist:
"!roomid:example.com":
- "@user:example.com"