-
Notifications
You must be signed in to change notification settings - Fork 81
/
configuration.yaml
73 lines (59 loc) · 1.94 KB
/
configuration.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
67
68
69
70
71
72
73
# Name of your Slack (Deprecated in favour of the slack_name env var)
slack_name: rands-leadership
# Name of environment variable that determines if destalinator should
# actually do things to a live slack. Without this environment variable,
# everything will output in a "dry run" fashion (debug messages should take place,
# but no changes or messages should affect a live Slack).
activated: true
# What should the bot's name be when it posts?
bot_name: "destalinator"
# What should the bot's avatar be when it posts?
bot_avatar_url: "https://s3-us-west-1.amazonaws.com/eng-management-docs/bread.png"
# Days of silence before we warn a channel it's going to be archived
warn_threshold: 30
# Days of silence before we auto-archive a channel
archive_threshold: 60
# Where should we post "general" announcement messages?
general_message_channel: "stale-channels"
# Where should we announce new channels?
announce_channel: "zmeta-new-channels"
# Where do we send control messages?
control_channel: "zmeta-control"
# Where to send destalinator debug logs
log_channel: "destalinator-log"
# Channels to ignore when archiving (i.e. they can be silent and not get archived)
ignore_channels:
- announcements
- black-leaders
- destalinator-log
- lgbt
- people-of-color
- sf-wine-meetup
- stale-channels
- women-in-leadership
# Regular expression patterns for additional channels to ignore during archiving
ignore_channel_patterns:
- calibrate
- diversity
- ^faq-
- rands
- ^zmeta-
# Users to ignore when considering if a channel is stale
ignore_users:
- USLACKBOT
- destalinator
# Which message subtypes count as activity?
# "None" means the message was typed by a human and is included by default.
included_subtypes:
- bot_message
- channel_name
- channel_purpose
- channel_topic
- file_mention
- file_share
- me_message
- message_replied
- reply_broadcast
- slackbot_response
# When should destalinator run?
schedule_hour: 4