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 acb6042 commit 0cc0d56
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 0cc0d56

Please sign in to comment.