feat(review): never auto-close automation-bot PRs (accumulator/dependency) - #1055
Merged
Merged
Conversation
…ency) Extends the auto-maintain close guard: PRs authored by maintainer-managed automation accounts (github-actions[bot], dependabot[bot], renovate[bot]) are never auto-closed. A recurring accumulator like github-actions[bot]'s automation/readme-refresh, or a dependency PR, must not be killed by a duplicate/slop noise heuristic — the maintainer owns its lifecycle (reviewbot wrongly closed such an accumulator, awesome-claude #4192). They remain eligible for auto-merge when clean + passing, same as the owner-PR guard. Adds isProtectedAutomationAuthor + tests. Part of epic #983.
Contributor
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Note 🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦🟦 💡 Gittensory review — advisory only
💡 Advisory only — no action taken
💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers. |
ghost
approved these changes
Jun 22, 2026
ghost
left a comment
There was a problem hiding this comment.
Gittensory approves — the gate is satisfied.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1055 +/- ##
=======================================
Coverage 96.75% 96.75%
=======================================
Files 143 143
Lines 17580 17583 +3
Branches 6364 6365 +1
=======================================
+ Hits 17010 17013 +3
Misses 108 108
Partials 462 462 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Extends the auto-maintain close guard so PRs authored by maintainer-managed automation accounts (
github-actions[bot],dependabot[bot],renovate[bot]) are never auto-closed.A recurring accumulator — e.g.
github-actions[bot]'sautomation/readme-refresh(the generated catalog index) — or a dependency PR must not be killed by a duplicate/slop noise heuristic; the maintainer owns its lifecycle. reviewbot wrongly auto-closed exactly this accumulator (awesome-claude #4192); this prevents gittensory from repeating it now that auto-close is live.Mirrors the existing owner-PR guard: blocks only close, never merge — these PRs still auto-merge when clean + passing.
isProtectedAutomationAuthor()+ the close-branch guard inagent-actions.ts, wired fromprocessors.ts.Closes Task 8 of epic #983. Typecheck clean; full unit suite (3315) green.