Skip to content

Commit

Permalink
Update github-metrics-notify.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dagnazty authored Jan 8, 2025
1 parent 349fb53 commit bda9e91
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/github-metrics-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ jobs:
send_notification = True
if send_notification:
triggering_actor = os.getenv('GITHUB_ACTOR', 'Unknown')
# Prepare Discord notification payload
payload = {
"embeds": [
Expand Down Expand Up @@ -244,6 +246,11 @@ jobs:
"value": f"{closed_issues}",
"inline": True
},
{
"name": "👤 Triggered By",
"value": triggering_actor,
"inline": False
},
],
"footer": {
"text": "GitHub Metrics Monitor",
Expand Down

0 comments on commit bda9e91

Please sign in to comment.