|
@@ -203,6 +203,8 @@ jobs:
|
|
|
send_notification = True
|
|
send_notification = True
|
|
|
|
|
|
|
|
if send_notification:
|
|
if send_notification:
|
|
|
|
|
+ triggering_actor = os.getenv('GITHUB_ACTOR', 'Unknown')
|
|
|
|
|
+
|
|
|
# Prepare Discord notification payload
|
|
# Prepare Discord notification payload
|
|
|
payload = {
|
|
payload = {
|
|
|
"embeds": [
|
|
"embeds": [
|
|
@@ -244,6 +246,11 @@ jobs:
|
|
|
"value": f"{closed_issues}",
|
|
"value": f"{closed_issues}",
|
|
|
"inline": True
|
|
"inline": True
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ "name": "👤 Triggered By",
|
|
|
|
|
+ "value": triggering_actor,
|
|
|
|
|
+ "inline": False
|
|
|
|
|
+ },
|
|
|
],
|
|
],
|
|
|
"footer": {
|
|
"footer": {
|
|
|
"text": "GitHub Metrics Monitor",
|
|
"text": "GitHub Metrics Monitor",
|