diff --git a/README.md b/README.md index 4af10a8..75d0c87 100644 --- a/README.md +++ b/README.md @@ -242,7 +242,7 @@ ran. Passing runs stay to one line, with the detail folded away: -> **Commit Check** +> **Commit Check** > > ✅ **All 3 checks passed** > @@ -266,7 +266,7 @@ Passing runs stay to one line, with the detail folded away: Failures open with a count, then a table of only the scopes that failed — every rule ID links to its documentation — with the full tree still one click away: -> **Commit Check** +> **Commit Check** > > ❌ **2 of 4 checks failed** > diff --git a/assets/logo.png b/assets/logo.png index bc95b77..f4470f0 100644 Binary files a/assets/logo.png and b/assets/logo.png differ diff --git a/main.py b/main.py index 477b4cd..1b5fde8 100755 --- a/main.py +++ b/main.py @@ -35,6 +35,13 @@ # cross-repository dependency, and as PNG rather than SVG because GitHub proxies # comment images through camo, which handles SVG unreliably. Point this at a # single org-wide asset if the other tools grow the same header. +# +# This is the org's *filled* mark (branding/avatar.png), not the transparent +# logo-mark. At this size a stroke has almost no visual weight -- the wordless +# mark rendered as a faint tick, worst on dark backgrounds -- while a filled +# tile holds up. It is the asset the branding README calls out as legible +# small, and the width below matches the h2 cap height so the icon is not +# smaller than the words next to it. LOGO_URL = ( "https://raw.githubusercontent.com/commit-check/commit-check-action/main/" "assets/logo.png" @@ -42,7 +49,7 @@ #: Report heading. h2 rather than h1: this renders inside a PR comment, where an #: h1 is louder than anything else on the page. -REPORT_TITLE = f'## Commit Check' +REPORT_TITLE = f'## Commit Check' #: Prefixes of report bodies written by earlier versions, kept so the first run #: after upgrading adopts the existing comment instead of posting a second one. @@ -567,7 +574,7 @@ def _scope_value(scope: ScopeResult, max_len: int = 60) -> str: # Success: # # -# ## Commit Check +# ## Commit Check # # ✅ **All 5 checks passed** # @@ -592,7 +599,7 @@ def _scope_value(scope: ScopeResult, max_len: int = 60) -> str: # Failure: # # -# ## Commit Check +# ## Commit Check # # ❌ **1 of 5 checks failed** #