Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Also don't fail the check when the scan fails, and add a concurrency group and a timeout like in the other labeler workflows. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
cakedev0
marked this pull request as ready for review
November 20, 2026 15:26
lesteve
reviewed
Nov 23, 2026
Member
There was a problem hiding this comment.
Looks good overall. Looking at nodejs/node#67459 (comment) as inspiration, it would be nice to:
- add a link to
https://agentscan.tools/user/<author>so that a maintainer can have a more detailed look - use markdown alerts to make it more obvious mixed activity => orange, automated => red
- comment wording tweaks that I need to think more about, in particular something like vite vitejs/vite#24119 (comment) to say something like "if you believed this is a mistake reply with some details explaining why"
This branch has not been deployed
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.
Reference Issues/PRs
Towards #35173 (the "Add profile information to issue/PRs automatically" section, where there is rough consensus on starting with AgentScan).
What does this implement/fix? Explain your changes.
Adds a workflow that runs the AgentScan action when a PR is opened or reopened, or an issue is opened. It uses
mode: full:agentscan:mixed-signals,agentscan:automated-accountoragentscan:community-flagged). Less useful, but it could help to filter or bulk-close PRs later.Nothing is posted when the activity looks organic (the action's default). Accounts with too little public activity get a short "Insufficient data" comment (two lines and the link, no label). Org members and authors with at least 10 merged PRs are skipped by a first step. It checks the membership with
BOT_GITHUB_READ_ORG_TOKEN, because the author association of the event doesn't report members with a private membership (same problem as in #35369).To get an idea of the noise, I ran the action locally in
mode: silent(nothing posted) on the 74 non-member authors of the last 200 PRs and issues:I replaced the default description line of the comment to say it's a heuristic and to link to our Automated Contributions Policy, similarly to what Node.js does.
pull_request_targetis needed to get a write token on PRs from forks. It's safe here because the workflow never checks out the PR code (same asautoclose-comment.yml).AI usage disclosure
I used AI assistance for:
Any other comments?
I couldn't test the workflow itself on my fork. The local run above only covers the action with these inputs, not the posting nor the membership step with the bot's token.