Add Next Maintainer auto-close workflow - #98197
Merged
marcoshernanz merged 7 commits intoSep 3, 2026
Merged
Conversation
Contributor
|
@marcoshernanz is attempting to deploy a commit to the Internal Playground Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Tests PassedCommit: 7bad8d7 |
…into codex/next-maintainer-auto-close
marcoshernanz
marked this pull request as ready for review
September 3, 2026 00:43
bgw
approved these changes
Sep 3, 2026
| @@ -0,0 +1,155 @@ | |||
| async function deliverOneVerifiedClose({ core, github }) { | |||
| const queue = | |||
| 'https://next-maintainer-agent.vercel.tools/eve/agents/close-verifier/eve/v1/auto-close' | |||
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.
Summary
.github/scripts/next-maintainer-auto-close.jsfor normal code reviewIf an issue is open with the marker, the workflow leaves it open. This intentionally lets a human reopen win and avoids timeline reconstruction.
Permissions
The job grants only
contents: read,id-token: write, andissues: write; every other permission remains none. Both GitHub actions are pinned to full commit SHAs. Checkout is sparse to the one trusted JavaScript file and has credential persistence disabled.Verification
node --check, Prettier, and ESLint pass for the extracted implementationworkflow_dispatchsucceeded end to end: https://github.com/vercel/next.js/actions/runs/33788887152 (OIDC authentication, Trusted Sources, production queue request, and clean empty-queue response)Dependency
This is the narrow GitHub write-side companion to vercel-labs/next-maintainer-agent#541, which is deployed. vercel-labs/next-maintainer-agent#546 further reduces the queue DTO and changes the delivery limit to 25 first claims per rolling week; this workflow is compatible with both DTO versions.