Skip to content

Commit 940b339

Browse files
authored
Hide URL preview on kernelbot workflows (#352)
This is annoying as it takes up a lot of vertical screen space and doesn't provide anything interesting.
1 parent 156f633 commit 940b339

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/libkernelbot/launchers/github.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ async def run_submission(
101101
await run.wait_for_completion(
102102
lambda x: self.wait_callback(x, status), timeout_minutes=timeout
103103
)
104-
await status.update(f"Workflow [{run.run_id}]({run.html_url}) completed")
104+
await status.update(f"Workflow [{run.run_id}](<{run.html_url}>) completed")
105105
logger.info(f"Workflow [{run.run_id}]({run.html_url}) completed")
106106
await status.push("Downloading artifacts...")
107107
logger.info("Downloading artifacts...")
@@ -142,7 +142,7 @@ async def run_submission(
142142

143143
async def wait_callback(self, run: "GitHubRun", status: RunProgressReporter):
144144
await status.update(
145-
f"⏳ Workflow [{run.run_id}]({run.html_url}): {run.status} "
145+
f"⏳ Workflow [{run.run_id}](<{run.html_url}>): {run.status} "
146146
f"({run.elapsed_time.total_seconds():.1f}s)"
147147
)
148148

0 commit comments

Comments
 (0)