From f5bb050ae2e9e66fb8ec4929d88510b49b3f9b2d Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 20 May 2020 14:36:43 +1000 Subject: [PATCH] Set the notifications webhook by URL to prevent false alerts (#952) In the event that someone who has forked this repository sets up CircleCI integrations for it, we would like that builds on their master branch would not be able to send alerts to the Hyperledger Rocket Chat #besu-contributors channel. Here we move to having the notification web-hook be sent to an address set by the HUBOT_URL variable instead. This environment variable is set in the CircleCI web-app in the same place we set the variables for our secrets for other 3rd party app access. It has been tested that an environment without the variable being set would cause no issues for the CircleCI build system either for other forked projects. Signed-off-by: Edward Evans --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 04a7739adb..a7c56bd953 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -27,7 +27,7 @@ executors: notify: webhooks: - - url: https://hyperledger-rocket-chat-hubot.herokuapp.com/hubot/circleci + - url: $HUBOT_URL commands: prepare: