chore: strip the comments this branch added

Removes every comment introduced on this branch: website/ in full, pages.yml
in full, and only the blocks added to ci.yml and release.yml — their
pre-existing comments are untouched.

Two directives survive because they are load-bearing rather than prose: the
triple-slash vite/client reference, and nothing else.

Two comments were carrying behaviour that the code did not state, so the
code now states it. useCopy's rejection handler clears the copied flag
instead of sitting empty, and writeTheme returns whether the write actually
landed instead of swallowing the failure in a bare catch. isExternal drops
its regex for two startsWith calls, which reads the same and no longer
hides a `//` inside a literal.
This commit is contained in:
Michel de Graaf
2026-07-25 01:29:55 +02:00
parent ba92e75fd3
commit c2dd227cee
45 changed files with 20 additions and 518 deletions
-6
View File
@@ -2,8 +2,6 @@ name: Release
on:
push:
# Must match ci.yml's paths-ignore exactly. A website-only push skips both
# workflows, so ci-gate is never left polling for an absent CI run.
branches: [master]
paths-ignore: ['website/**']
workflow_dispatch:
@@ -51,10 +49,6 @@ jobs:
2>/dev/null || echo "unreachable")
case "$verdict" in
success) echo "CI passed for $GITHUB_SHA"; exit 0 ;;
# `cancelled` is what CI's own cancel-in-progress does to the
# older SHA when two pushes land back to back. Treating it as a
# failure turned every rapid push into a red release; keep
# waiting instead, and let the newer SHA's run decide.
absent|running|unreachable|cancelled) ;;
*) echo "::error::CI concluded '$verdict' for $GITHUB_SHA - refusing to release"; exit 1 ;;
esac