Commit Graph
2 Commits
Author SHA1 Message Date
sneak 97da381318 update-policy: stop on a .golangci.yml line the canonical file lacks
check / check (push) Successful in 20s
A repo's own lint setting outside the test-support deny list was
deleted, and the deletion pushed with exit 0. The script now stops
and names each such line.

The check is one function that both merge steps call. An indented #
line now counts as a comment, as YAML needs.

Without --fail the stub curl now writes an error page and exits 0,
and the bad-hash scenario checks for the fetch error.

Model: opus-5-5
2026-11-09 09:03:40 +00:00
sneak c103168d03 Add script/update-policy to re-vendor policy files (closes #162)
check / check (push) Successful in 30s
One command fetches the vendored files from prompts at a commit, keeps a repo's own entries, commits and pushes. An entry above a file's closing comment that the canonical file lacks stops it before it writes. A run with nothing to commit still pushes, so a retry delivers a failed push. The canonical .dockerignore gains the closing comment the script needs. test/update-policy.sh tests the script in the Dockerfile test phase.

Model: opus-5-5
2026-11-09 08:30:34 +00:00