Skip to content

Commit 8262e6b

Browse files
committed
chore: ci: Fix link unfurling in Slack message
1 parent ff0553f commit 8262e6b

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.github/scripts/publish_link_flamegraphs.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ curl -XPOST -H "Content-type: application/json" -d '{
44
"type": "header",
55
"text": {
66
"type": "plain_text",
7-
"text": "Daily Flamegraph Report"
7+
"text": "🔥 Daily Flamegraph Report"
88
}
99
},
1010
{
@@ -14,10 +14,12 @@ curl -XPOST -H "Content-type: application/json" -d '{
1414
"type": "section",
1515
"text": {
1616
"type": "mrkdwn",
17-
"text": "🔥 Flamegraphs are available at *<https://lambdaclass.github.io/ethrex/|lambdaclass.github.io/ethrex/>*\n
18-
• *<https://lambdaclass.github.io/ethrex/flamegraph_ethrex.svg/flamegraph_ethrex.svg|Ethrex Flamegraph>*\n
19-
• *<https://lambdaclass.github.io/ethrex/flamegraph_reth.svg/flamegraph_reth.svg|Reth Flamegraph>*\n"
17+
"text": "Flamegraphs are available at *<https://lambdaclass.github.io/ethrex/|https://lambdaclass.github.io/ethrex/>*\n
18+
• *<https://lambdaclass.github.io/ethrex/flamegraph_ethrex.svg/flamegraph_ethrex.svg|Ethrex>*\n
19+
• *<https://lambdaclass.github.io/ethrex/flamegraph_reth.svg/flamegraph_reth.svg|Reth>*\n"
2020
}
21-
}
22-
]
21+
},
22+
],
23+
"unfurl_links": true,
24+
"unfurl_media": true
2325
}' "$1"

.github/workflows/flamegraph_reporter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permissions:
77

88
on:
99
push:
10-
branches: [ "main" ]
10+
branches: [ "main", "automate-perf-tests" ]
1111
workflow_dispatch:
1212

1313
env:

pages/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
<meta content="Ethrex flamegraph comparison" property="og:title">
1111
<meta content="Last updated {{LAST_UPDATE}}" property="og:description">
1212
<meta property="og:image" content="flamegraph_ethrex.svg/flamegraph_ethrex.svg"/>
13-
<meta name="twitter:label1" content="Ethrex time"/>
13+
<meta name="twitter:label1" content="🕒Ethrex"/>
1414
<meta name="twitter:data1" content="{{ETHREX_TIME}}"/>
15-
<meta name="twitter:label2" content="Reth time"/>
15+
<meta name="twitter:label2" content="🕒Reth"/>
1616
<meta name="twitter:data2" content="{{RETH_TIME}}"/>
1717
</head>
1818
<body>

0 commit comments

Comments
 (0)