Skip to content

Commit 6947bdd

Browse files
authored
Set rumesh slack id and enable support (#98)
1 parent 47dc0e4 commit 6947bdd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ people:
120120
linear_username: gerry
121121
github_username: hellogerard
122122
on_call_support: false
123+
rumesh:
124+
slack_id: U054D068S4W
125+
linear_username: rumesh.lahiru
126+
github_username:
127+
on_call_support: true
123128

124129

125130
platforms:

jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
def post_to_slack(markdown: str):
3131
"""Send a message to Slack and raise or log on failure."""
32-
url = os.getenv("SLACK_WEBHOOK_URL")
32+
url = os.environ["SLACK_WEBHOOK_URL"]
3333
response = requests.post(url, json={"text": markdown})
3434
if response.status_code != 200:
3535
logging.error(

0 commit comments

Comments
 (0)