fix(docs-scripts): pin LC_ALL=C so SCRIPTS.md ordering is deterministic
All checks were successful
Check / eval-and-lint (push) Successful in 6m35s
All checks were successful
Check / eval-and-lint (push) Successful in 6m35s
CI's drift check failed on pure ordering noise: the generator's `sort` collated rows and caller lists by the ambient locale (en_GB.UTF-8 on the dev box that committed the file, C in the CI container), so `-` vs `/` and `-` vs `s` ordered differently (e.g. theme-update vs themes-prebuild, caller-list order). Force LC_ALL=C in the generator and regenerate docs/SCRIPTS.md in that collation, so the committed copy and any regeneration — dev box or CI — are byte-identical. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
# pipefail and -e off; -u stays.
|
||||
set -u
|
||||
|
||||
# Deterministic collation regardless of the caller's locale. Without this
|
||||
# `sort` orders rows and caller lists by the ambient LC_COLLATE (UTF-8 on a
|
||||
# dev box, C in the CI container), so the committed doc and CI's regenerated
|
||||
# copy disagree on ordering and the drift check fails on pure noise.
|
||||
export LC_ALL=C
|
||||
|
||||
# nomarchy-docs-scripts
|
||||
#
|
||||
# Regenerates docs/SCRIPTS.md from the repo state. Produces:
|
||||
|
||||
Reference in New Issue
Block a user