Skip to content

gate: no commit by a test identity - #7

Merged
aledbf merged 1 commit into
mainfrom
authors-gate
Nov 13, 2026
Merged

aledbf merged 1 commit into
mainfrom
authors-gate

Conversation

@aledbf

@aledbf aledbf commented Nov 13, 2026

Copy link
Copy Markdown
Member

Follow-up to spin-stack/spin#1196 and spin-stack/go-tools#104. A test in spin wrote ana@corp.example into a checkout's .git/config, and every commit made after that carried it to GitHub.

  • task gate runs testidentity -base origin/main, which go tool task puts on PATH from go-tools' latest release (v20261113.01). It fails on a commit since main whose raw author or committer address is at a reserved domain, has no dot, or appears in this tree's tests (test/, *.test.ts). The failure says how to fix it. GitHub's noreply and bot addresses pass.
  • CI's Gate checkout uses fetch-depth: 0 so origin/main is in the clone on a pull request.
  • No test here runs git.

Checked: go tool task gate passes.

🤖 Generated with Claude Code

A test in spin wrote git's author into the checkout's config, and every commit after it was the
test's, on GitHub. The gate now runs go-tools' testidentity over the branch's commits since
origin/main - a reserved-domain address, one with no dot, or one this tree's tests spell - so
such a commit stops here. CI's Gate fetches the history it reads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@aledbf
aledbf merged commit b78b5d0 into main Nov 13, 2026
1 check passed
@aledbf
aledbf deleted the authors-gate branch November 13, 2026 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant