Current templates: safe.directory, golangci-lint v2.14.0, fetch-depth 0, the policy's last stage (closes #50)
check / check (push) Successful in 2m38s

REPO_POLICIES.md and .golangci.yml are the sneak/prompts next copies, and
.dockerignore takes the template's .git/modules/**/config line. The lint
phase runs golangci-lint v2.14.0; its two errors.AsType findings are
fixed. The stage that builds keyfunc marks /src safe for git, so a
context sent as a tar stream still yields a version. That stage is now
the last one and a development environment on the Debian Go image: what
script/bootstrap installs, the source in /src, keyfunc on the PATH. The
test phase uses the same image, so one Go image stays matched to
script/bootstrap. The CI checkout fetches all history and tags.

Model: opus-5-5
This commit is contained in:
2026-10-04 05:39:54 +00:00
parent d4fbcbc83d
commit 9ad3bbd347
8 changed files with 87 additions and 66 deletions
+1 -2
View File
@@ -86,8 +86,7 @@ func Main() int {
return 0
}
var passed ssh.StatusError
if errors.As(err, &passed) {
if passed, ok := errors.AsType[ssh.StatusError](err); ok {
return passed.Status
}