Skip to content

Commit

Permalink
Add creator full name
Browse files Browse the repository at this point in the history
  • Loading branch information
cmpsoares91 committed Jan 11, 2024
1 parent 07b28d6 commit 922fbb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/notify_webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def debug_log(message):
if os.getenv('RUNNER_DEBUG') or os.getenv('ACTIONS_STEP_DEBUG') or (os.getenv('ACTIONS_RUNNER_DEBUG', 'false').lower() == 'true'):
print(message)

def create_message_for_teams(action, target_team_name, event_type, html_url, title, creator, creator_avatar, event_created_at):
def create_message_for_teams(action, target_team_name, event_type, html_url, title, creator, creator_avatar, event_created_at, creator_full_name):
# Creating an Adaptive Card for Microsoft Teams
return {
"type": "message",
Expand Down Expand Up @@ -41,7 +41,7 @@ def create_message_for_teams(action, target_team_name, event_type, html_url, tit
"items": [
{
"type": "TextBlock",
"text": creator,
"text": f"{creator} ({creator_full_name})",
"weight": "Bolder"
},
{
Expand Down

0 comments on commit 922fbb5

Please sign in to comment.