GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||
GeezerVison is showing github.com — tools: refine contributor guidance workflow by panva · Pull Request #65745 · nodejs/node Conversation
|
|
Review requested:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
love to see further AgentScan integration <3
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
flowchart TD
opened["PR opened"] --> gate{"Free event pre-filter"}
gate -->|"Non-Bot and association is FIRST_TIMER, FIRST_TIME_CONTRIBUTOR, CONTRIBUTOR, or NONE"| resolve["Resolve association using GH_USER_TOKEN"]
gate -->|"Bot, trusted association, mannequin, or rerun"| skip["Skip without allocating a runner"]
resolve -->|"FIRST_TIMER or FIRST_TIME_CONTRIBUTOR"| first["First-time contributor"]
resolve -->|"CONTRIBUTOR or NONE after retries"| external["External contributor without a welcome"]
resolve -->|"Trusted association"| stop["Stop without scanning or commenting"]
resolve -->|"API error or unexpected value"| failure["Fail resolver; no scan or comment"]
first --> firstScan["Run AgentScan and attempt labels"]
firstScan -->|"Qualifying output"| welcomeCaution["Post welcome + caution"]
firstScan -->|"No qualifying output or scan failure"| welcome["Post welcome only"]
external --> externalScan["Run AgentScan and attempt labels"]
externalScan -->|"Qualifying output"| caution["Post caution only"]
externalScan -->|"No qualifying output or scan failure"| noComment["No comment"]
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I do hope you cracked the problem with this iteration! The new labels would need to be documented. PR submitters should understand what it means if their PR has had such a label attached. What do you define as a "mannequin"? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I think so. I'm also going to run an emulation of this in a local script to confirm.
That's why the CAUTION_MESSAGE is there.
I don't. GitHub does. It is there for completeness, we'll never encounter it in practice. https://docs.github.com/en/migrations/overview/mannequins-and-user-activity
I'd say so, in due time when this proves itself useful. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
It's running, logs will appear in https://gist.github.com/panva/76266649dc13fda7955a123cab99fcd2#file-log-txt ( |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| id: resolve | ||
| env: | ||
| GH_TOKEN: ${{ github.token }} | ||
| GH_TOKEN: ${{ secrets.GH_USER_TOKEN }} |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Please add a comment at the top listing the secrets being used, and the reason for using them
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| guidance: | ||
| name: Apply contributor guidance | ||
| needs: contributor | ||
| if: needs.contributor.outputs.should_scan == 'true' |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Should we use trusted-author-associations instead? If not, can we add a comment explaining why?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Landed in 5ceeb6e |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Use the Node.js GitHub bot token for association checks and route the welcome and caution messages independently. Signed-off-by: Filip Skokan <[email protected]> PR-URL: #65745 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tierney Cyren <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Mike McCready <[email protected]>
Use the Node.js GitHub bot token for association checks and route the welcome and caution messages independently. Signed-off-by: Filip Skokan <[email protected]> PR-URL: #65745 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tierney Cyren <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Mike McCready <[email protected]>
Use the Node.js GitHub bot token for association checks and route the welcome and caution messages independently. Signed-off-by: Filip Skokan <[email protected]> PR-URL: #65745 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tierney Cyren <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Mike McCready <[email protected]>
Use the Node.js GitHub bot token for association checks and route the welcome and caution messages independently. Signed-off-by: Filip Skokan <[email protected]> PR-URL: #65745 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tierney Cyren <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Mike McCready <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.