tools: refine contributor guidance workflow - #65745
Open
panva wants to merge 4 commits into
Open
Conversation
Use the Node.js GitHub bot token for association checks and route the welcome and caution messages independently. Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Collaborator
|
Review requested:
|
jasnell
approved these changes
Sep 2, 2026
trivikr
reviewed
Sep 2, 2026
Member
Author
|
It's intentionally a bit wide at the moment and can be narrowed down when it runs a few times. The workflow is a new one that can be disabled if need be, it won't disrupt existing workflows. flowchart TD
opened["PR opened"] --> gate{"Free event pre-filter"}
gate -->|"FIRST_TIMER / FIRST_TIME_CONTRIBUTOR / CONTRIBUTOR / NONE"| resolve["Resolve association using GH_USER_TOKEN"]
gate -->|"Anything else, Dependabot, or a rerun"| skip["Skip without allocating a runner"]
resolve -->|"FIRST_TIMER / FIRST_TIME_CONTRIBUTOR"| first["First-time contributor"]
resolve -->|"CONTRIBUTOR / NONE after retries"| external["External contributor without a welcome"]
resolve -->|"Trusted association"| stop["Stop without scanning or commenting"]
resolve -->|"API error / unexpected value"| failure["Fail resolver; no scan or comment"]
first --> firstScan["Run AgentScan"]
firstScan -->|"Successful positive signal"| welcomeCaution["Apply labels and post welcome + caution"]
firstScan -->|"No signal or scan failure"| welcome["Post welcome only"]
external --> externalScan["Run AgentScan"]
externalScan -->|"Successful positive signal"| caution["Apply labels and post caution only"]
externalScan -->|"No signal or scan failure"| noComment["No comment"]
|
bnb
approved these changes
Sep 2, 2026
bnb
left a comment
Contributor
There was a problem hiding this comment.
love to see further AgentScan integration <3
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.
Use the Node.js GitHub bot token for association checks and route the welcome and caution messages independently. Any outside contributor (other than dependabot) regardless of being associated as first time or not goes through agentscan (it's a signal we should surface to aid moderation).
Also labels either agentscan:community-flagged , agentscan:automated-account , or agentscan:mixed-signals accordingly.
Followup to #65592, #65533, and #65648. See #65648 (comment)