Repository navigation
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Unhandled truncated-response errors can abort scans without writing reports, while pending reviews missing submitted_at can discard repository evidence and suppress candidates across all repositories.
2 open issues
What changed in this PR
Adds a read-only GoodBounties pilot to the organization’s shared GitHub configuration, providing reviewer candidates and workload evidence for manager confirmation. It does not assign reviewers or run the manager.
Changes:
- Adds GitHub inventory collection, ownership tracking, and JSON/Markdown reports.
- Introduces gated inventory execution, offline checks, and an optional cross-repository refresh relay.
- Documents reviewer selection rules, setup requirements, and remaining integrations.
| File | Description |
|---|---|
README.md |
Links to the reviewer inventory pilot. |
.github/workflows/goodbounties-review-inventory.yml |
Collects live inventory and uploads reports when enabled. |
.github/workflows/goodbounties-check.yml |
Runs offline tests and validates configuration. |
.github/goodbounties/tests/test_inventory.py |
Covers selection rules, workload counting, validation, and failures. |
.github/goodbounties/templates/review-refresh.yml.example |
Provides an optional cross-repository refresh relay. |
.github/goodbounties/README.md |
Documents configuration, operation, and pilot limitations. |
.github/goodbounties/manager-instructions.md |
Defines reviewer proposal and ownership procedures. |
.github/goodbounties/inventory.py |
Applies reviewer rules and generates reports. |
.github/goodbounties/github_read.py |
Implements read-only API access and evidence collection. |
.github/goodbounties/config.json |
Seeds repository scope and empty reviewer/owner records. |
.github/goodbounties/.gitignore |
Excludes Python cache files. |
Review effort: Balanced
Comment on lines
+70
to
+71
| except (URLError, OSError): | ||
| raise InventoryError("Cannot reach GitHub; rerun after the connection recovers.") from None |
| reviews = [] | ||
| path = f"/repos/{repository}/pulls/{pull['number']}/reviews" | ||
| for review in api.pages(path): | ||
| if is_human(review["user"]) and review["submitted_at"]: |
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.

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
About # (link your issue here)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: