Repository navigation
Do not label issues assigned to org bots as community contributions - #142
Merged
Merged
Conversation
- Move bot usernames into scripts/bot-usernames.json, read by constants.js and the Python script - community-contribution-label.py treats a bot assignee as not external Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013PjXpbvgyWdsP6RKke6npi
rtibbles
marked this pull request as ready for review
November 23, 2026 17:41
LianaHarris360
approved these changes
Nov 25, 2026
LianaHarris360
left a comment
Member
There was a problem hiding this comment.
Changes check out to me. I'm just wondering if LE_BOT_USERNAME and RTIBBLESBOT_USERNAME still need to be set in scripts/constants.js, otherwise this is ready to merge.
Member
Author
|
Probably not - I'll do a quick skim to check. |
Member
Author
|
Looks like they're still used in multiple other scripts at the moment, but probably worth consolidating at some point. |
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
Issues assigned to rtibblesbot were labelled
community-contribution-in-progress, because the label only checks repo collaborator status. Bot assignees are now ignored, with bot usernames moved to a JSON file read by both the JS constants and the Python script.References
Tested: learningequality/test-actions#106.
Reviewer guidance
On test-actions, main's code labelled the issue when rtibblesbot was assigned; with this branch, the label came off once the only human assignee was removed, leaving rtibblesbot.
JS tests pass on CI; no tests cover the Python script.
AI usage
Used Claude Code to implement the change. Verified with the full test suite, ruff and a live run on test-actions.
🤖 Generated with Claude Code
https://claude.ai/code/session_013PjXpbvgyWdsP6RKke6npi