Linkify URLs in Actions workflow logs (#36986)

Detect URLs in Actions log output and render them as clickable links,
similar to how GitHub Actions handles this. Pre-existing links from
ansi_up's OSC 8 parsing are also kept intact.

---------

Signed-off-by: silverwind <me@silverwind.io>
Co-authored-by: Claude (claude-opus-4-6) <noreply@anthropic.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
silverwind
2026-03-26 10:48:09 +01:00
committed by GitHub
parent ffa626b585
commit 9583e1a65c
7 changed files with 84 additions and 14 deletions
@@ -641,6 +641,11 @@ async function hashChangeListener() {
overflow-wrap: anywhere;
}
.job-step-logs .log-msg a {
color: var(--color-console-link) !important;
text-decoration: underline;
}
.job-step-logs .job-log-line .log-cmd-command {
color: var(--color-ansi-blue);
}