Add script/update-policy to re-vendor policy files (closes #162)
check / check (push) Successful in 18s

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
This commit is contained in:
sneak committed 2026-11-09 08:05:38 +00:00
1 parent d673785d33
commit b9a2695cbe
10 files changed
+643 -10

No files matched your search

+4
View File
@@ -76,3 +76,7 @@
**/.idea
**/.vscode
**/*.sublime-*
# This repository's own entries, such as its build outputs, go below
# this comment, and a re-vendor keeps them. Anchor a binary built at the
# root: `/myapp`, never `**/myapp`, which also matches `cmd/myapp/`.