From 20051e7ec180abca01497ecffedcc8fe98f073db Mon Sep 17 00:00:00 2001 From: trufflesteeeve <94936258+trufflesteeeve@users.noreply.github.com> Date: Mon, 18 Jul 2022 14:51:27 -0400 Subject: [PATCH] Add SlackTokens option for slack credentials (#647) --- proto/credentials.proto | 5 +++++ proto/sources.proto | 1 + 2 files changed, 6 insertions(+) diff --git a/proto/credentials.proto b/proto/credentials.proto index a804c3f0a..174783894 100644 --- a/proto/credentials.proto +++ b/proto/credentials.proto @@ -59,3 +59,8 @@ message GitHubApp { string installation_id = 2; string app_id = 3; } + +message SlackTokens { + string app_token = 1; + string bot_token = 2; +} diff --git a/proto/sources.proto b/proto/sources.proto index 3ce7ef89c..55fdad9cd 100644 --- a/proto/sources.proto +++ b/proto/sources.proto @@ -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;