Repository navigation
Commit 3751d44
docs: show the report inline instead of linking four missing screenshots
The job summary and PR comment sections pointed at four PNGs under
commit-check/.github/screenshot/. That directory does not exist and never
has — the repository is five files, and its full history contains no
screenshot at any point — so all four have been broken images.
They could not have rendered even once. The URLs are /blob/ links, which
serve an HTML page rather than an image; Markdown needs raw.
githubusercontent.com, as this action's own logo reference already uses.
Reproduce the report inline instead. It is Markdown, so GitHub renders it
here exactly as it renders it in a job summary — a table and a collapsed
tree, not a picture of one — which keeps it accurate for free, selectable,
searchable and readable by a screen reader. Two examples rather than four:
render_job_summary and render_pr_comment both return render_report, so the
surfaces cannot differ, and the comment section now says so and links up
rather than repeating itself.
Both examples were generated by calling the renderer, not written by hand.
Two deliberate departures, both noted in the text: the title is bold rather
than a heading, so it stays out of this page's table of contents, and the
footer says <version> rather than pinning one that would drift.
The comment section also describes the lifecycle, which no screenshot
could: the comment is edited in place and survives a passing run, older
marked duplicates are deleted, and a pre-marker comment is adopted only
when a bot posted it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U9zFxq8V4qxG4aMzJhGBFn1 parent b97366c commit 3751d44
1 file changed
Lines changed: 80 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
235 | 239 | | |
236 | 240 | | |
237 | 241 | | |
238 | | - | |
| 242 | + | |
239 | 243 | | |
240 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
241 | 262 | | |
242 | | - | |
| 263 | + | |
243 | 264 | | |
244 | | - | |
| 265 | + | |
| 266 | + | |
245 | 267 | | |
246 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
247 | 300 | | |
248 | | - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
249 | 304 | | |
250 | | - | |
| 305 | + | |
251 | 306 | | |
252 | | - | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
253 | 324 | | |
254 | 325 | | |
255 | 326 | | |
| |||
0 commit comments