Skip to content

fix: color and narrower headers for CI reports - #718

Merged
wagoodman-anchore merged 3 commits into
mainfrom
fix/cli-report
Oct 26, 2026
Merged

wagoodman-anchore merged 3 commits into
mainfrom
fix/cli-report

Conversation

@wagoodman

Copy link
Copy Markdown
Contributor
  • color the report in GitHub Actions, where stdout is a pipe but the log renders ANSI. FORCE_COLOR / CLICOLOR_FORCE force it on, NO_COLOR still wins
  • the run header prints paths relative to the working directory, digests and claims commits cut to 12 chars, and a DB URL by its file name (json keeps every value whole)
  • warnings name subjects the way the rest of the layouts do, and a subject's warnings print under its name once instead of repeating the full image ref on every line

- color the report in GitHub Actions, where stdout is a pipe but the log renders ANSI. `FORCE_COLOR` / `CLICOLOR_FORCE` force it on, `NO_COLOR` still wins
- the run header prints paths relative to the working directory, digests and claims commits cut to 12 chars, and a DB URL by its file name (json keeps every value whole)
- warnings name subjects the way the rest of the layouts do, and a subject's warnings print under its name once instead of repeating the full image ref on every line

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman added the bug Something isn't working label Oct 26, 2026
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman-anchore
wagoodman-anchore merged commit 7aa47cd into main Oct 26, 2026
15 checks passed
@wagoodman-anchore
wagoodman-anchore deleted the fix/cli-report branch October 26, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants