Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions src/github/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,12 @@ async function createProgressComment(
const barBlocks = PROGRESS_BAR_BLOCKS;
const emptyBar = '░'.repeat(barBlocks);
const title = '**🚀 Codez Progress**';
const bodyLines: string[] = [title, '', `Progress: [${emptyBar}] 0%`, ''];
const bodyLines: string[] = [
title,
'',
`Progress: [${emptyBar}] 0% ![](https://github.com/user-attachments/assets/30d8716f-a3d2-4d4f-ae2b-278454576ddd)`,
'',
];
for (const step of steps) {
bodyLines.push(`- [ ] ${step}`);
}
Expand Down Expand Up @@ -152,7 +157,9 @@ async function updateProgressComment(
const bodyLines: string[] = [
title,
'',
`Progress: ${bar} ${percent}%${percent === 100 ? ' ✅' : ''}`,
`Progress: ${bar} ${percent}%${percent === 100
? ' ✅'
: ' ![](https://github.com/user-attachments/assets/30d8716f-a3d2-4d4f-ae2b-278454576ddd)'}`,
'',
];
for (const s of steps) {
Expand Down