Skip to content

Commit 619dfbc

Browse files
committed
Experiment with improved layout
1 parent eb7300e commit 619dfbc

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/plugin-artifact-for-pr.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,16 @@ jobs:
3939
const runId = context.runId;
4040
const artifactUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${runId}`;
4141
const slug = process.env.PLUGIN_SLUG;
42-
const body = `ℹ️ [Download the latest ${slug} plugin artifact from this workflow run](${artifactUrl})\n\n(See the 'Artifacts' section at the bottom).`;
42+
const body = `<table><tr><td valign="top" width="36">
43+
<img src="https://avatars.githubusercontent.com/t/10805240?s=48" width="36" height="36" alt="HWP Toolkit">
44+
</td><td>
45+
46+
**Download the latest ${slug} plugin artifact**
47+
48+
🔗 [View workflow run with artifacts](${artifactUrl})
49+
50+
<sub>See the 'Artifacts' section at the bottom of the workflow run page.</sub>
51+
</td></tr></table>`;
4352

4453
// Find existing comment from this bot
4554
const comments = await github.rest.issues.listComments({

0 commit comments

Comments
 (0)