Skip to content

Commit 6f0e23a

Browse files
committed
update
1 parent 2897034 commit 6f0e23a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

utils/consolidated_test_report.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -601,14 +601,13 @@ def create_slack_payload(consolidated_data):
601601

602602
# Add action button
603603
if os.environ.get("GITHUB_RUN_ID"):
604+
run_id = os.environ["GITHUB_RUN_ID"]
604605
payload.append(
605606
{
606607
"type": "section",
607-
"text": {"type": "mrkdwn", "text": "*For more details:*"},
608-
"accessory": {
609-
"type": "button",
610-
"text": {"type": "plain_text", "text": "View full report", "emoji": True},
611-
"url": f"https://github.com/huggingface/diffusers/actions/runs/{os.environ['GITHUB_RUN_ID']}",
608+
"text": {
609+
"type": "mrkdwn",
610+
"text": f"*<https://github.com/huggingface/diffusers/actions/runs/{run_id}|View full report on GitHub>*",
612611
},
613612
}
614613
)

0 commit comments

Comments
 (0)