Add SlackTokens option for slack credentials (#647)

This commit is contained in:
trufflesteeeve
2022-07-18 14:51:27 -04:00
committed by GitHub
parent 96106563a9
commit 20051e7ec1
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -59,3 +59,8 @@ message GitHubApp {
string installation_id = 2;
string app_id = 3;
}
message SlackTokens {
string app_token = 1;
string bot_token = 2;
}
+1
View File
@@ -189,6 +189,7 @@ message Slack {
string endpoint = 1 [(validate.rules).string.uri_ref = true];
oneof credential {
string token = 2;
credentials.SlackTokens tokens = 5;
}
repeated string channels = 3;
repeated string ignoreList = 4;