We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47dc0e4 commit 6947bddCopy full SHA for 6947bdd
config.yml
@@ -120,6 +120,11 @@ people:
120
linear_username: gerry
121
github_username: hellogerard
122
on_call_support: false
123
+ rumesh:
124
+ slack_id: U054D068S4W
125
+ linear_username: rumesh.lahiru
126
+ github_username:
127
+ on_call_support: true
128
129
130
platforms:
jobs.py
@@ -29,7 +29,7 @@
29
30
def post_to_slack(markdown: str):
31
"""Send a message to Slack and raise or log on failure."""
32
- url = os.getenv("SLACK_WEBHOOK_URL")
+ url = os.environ["SLACK_WEBHOOK_URL"]
33
response = requests.post(url, json={"text": markdown})
34
if response.status_code != 200:
35
logging.error(
0 commit comments