Skip to content

Commit 355ff0e

Browse files
Merge pull request #22 from opensourcerouting/main
Release 1.0.6
2 parents 97ffedf + 00a20fb commit 355ff0e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

lib/slack/client.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ def initialize
2424
end
2525

2626
def chat(message, channel: fetch_channel)
27-
@client.chat_postMessage(channel: channel, text: message, username: fetch_bot_name)
27+
@client.chat_postMessage(channel: channel,
28+
text: message,
29+
username: fetch_bot_name,
30+
unfurl_links: false,
31+
unfurl_media: false)
2832
rescue Slack::Web::Api::Errors::TooManyRequestsError
2933
sleep 60
3034
retry

service/prod/slack_cibot.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[Unit]
2-
Description="CI Slack Bot DEVEL"
2+
Description="CI Slack Bot PRODUCTION"
33
After=network.target
44

55
[Service]
6-
User=slack_cibot_devel
6+
User=slack_cibot
77
WorkingDirectory=/home/slack_cibot/slack_github_bot
88
ExecStart=/home/slack_cibot/slack_github_bot/service/prod/server.sh
99
Restart=always

0 commit comments

Comments
 (0)