Skip to content

Commit

Permalink
Update send_slack_notification.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielraeder committed Apr 11, 2024
1 parent fdfec3a commit 6dda902
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions send_slack_notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@


def send_slack_notification(message, assignee, origin_repo, webhook_url):
print(assignee)
data = {"Message": message, "Assignee": assignee, "Origin_Repo": origin_repo}
print(data)
response = requests.post(webhook_url, json=data)
if response.status_code == 200:
print("Notification sent successfully.")
Expand Down

0 comments on commit 6dda902

Please sign in to comment.