Skip to content

Stop this repository merging itself on a green lint - #8

Merged
damianhoward-automerge[bot] merged 1 commit into
mainfrom
gate-the-trust-root
Aug 12, 2026
Merged

Stop this repository merging itself on a green lint#8
damianhoward-automerge[bot] merged 1 commit into
mainfrom
gate-the-trust-root

Conversation

@damian1000

Copy link
Copy Markdown
Member

Every other repository's changes reach that repository. These reach all sixteen, at
@main, with secrets: inherit. The caller here merged this repository's own pull
requests as soon as lint went green — including #4, the change that replaced the
merge credential itself, which landed with nobody reading it.

Authorship was never the boundary. A Dependabot action-SHA bump edits the shared
workflows exactly as an owner change does, so narrowing the allowlist would have
moved the problem rather than closed it. The caller goes instead, and merging here
becomes a deliberate click after lint passes — the gate docs/08-github-standards.md
described before it was corrected to match what the token happened to allow.

A required review cannot do this job: GitHub will not accept a self-approval, so
requiring one on a single-maintainer repository blocks every merge rather than
gating it.

automerge.yml itself is unchanged apart from a comment recording why this
repository is the exception — it is the file someone reads before adding a caller
elsewhere. The other fifteen repositories keep auto-merge exactly as they had it.

Also corrects the README where the migration left it wrong: the shared workflow
examples still told a reader to write uses: damian1000/.github/..., and auto-merge
was still documented as holding AUTOMERGE_TOKEN rather than minting a token per run
from the organisation's app. The allowlist's damian1000 stays — that is the account
login, which the organisation move kept.

Every other repository's changes reach that repository. These reach all sixteen, at
@main, with secrets: inherit. The caller here merged its own pull requests once lint
went green, and it had been doing so for the change that replaced the merge
credential itself — a workflow edit that landed with nobody reading it.

Authorship was never the boundary. A Dependabot action-SHA bump edits the shared
workflows exactly as an owner change does, so restricting the allowlist would have
moved the problem rather than closed it. The caller goes instead, and merging here
becomes a deliberate click after lint passes. That is the gate document 08 described
before it was corrected to match what the token happened to allow.

A required review cannot do this job. GitHub will not accept a self-approval, so on
a single-maintainer repository requiring one blocks every merge rather than gating
it.

The README was also describing the estate before the migration: the shared workflow
examples still told a reader to write uses: damian1000/.github, and auto-merge was
still documented as holding AUTOMERGE_TOKEN rather than minting a token per run from
the organisation's app. The allowlist's damian1000 stays — that is the account login,
which the organisation move kept.
@damianhoward-automerge
damianhoward-automerge Bot enabled auto-merge (squash) August 12, 2026 20:43
@damianhoward-automerge
damianhoward-automerge Bot merged commit ad22d48 into main Aug 12, 2026
2 checks passed
@damianhoward-automerge
damianhoward-automerge Bot deleted the gate-the-trust-root branch August 12, 2026 20:44
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