Repository navigation
Preserve public secrecy labels for unknown Actions repo visibility - #10873
Conversation
Co-authored-by: lpcox <[email protected]>
There was a problem hiding this comment.
Pull request overview
Updates GitHub guard labeling so unknown repository visibility remains public under an explicit public-repository policy.
Changes:
- Adds public-scope fallback to tool and response secrecy-label helpers.
- Updates
actions_listregression coverage. - Adds direct helper-level regression coverage.
Show a summary per file
| File | Description |
|---|---|
guards/github-guard/rust-guard/src/labels/tool_rules.rs |
Applies public fallback during tool-resource labeling. |
guards/github-guard/rust-guard/src/labels/mod.rs |
Updates actions_list regression expectations. |
guards/github-guard/rust-guard/src/labels/helpers.rs |
Applies and tests shared visibility fallback behavior. |
Review details
Tip
Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 3/3 changed files
- Comments generated: 0
- Review effort level: Balanced
🔒 mcpg Read-Only Stress — gVisorSurface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Overall: PASS
Run: §31265661693
|
🔒 mcpg Read-Only Stress — default AWFSurface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Overall: PASS Full ReportPart A — MCP Reads ✅
Part B — MCP Writes ✅ (all BLOCKED)All 7 write tools return
Gateway tool list (22, read-only): Part C — CLI Reads ✅
Part D — CLI REST Writes ✅
Part E — GraphQL Mutations ✅
References: §31265661711
|
🔒 mcpg Read-Only Stress — docker-sbxSurface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Overall: PASS Notes:
References: §31265661728
|
actions_listcould receiveprivate:*secrecy labels when repository visibility lookup was unavailable, even under an explicitrepos: publicpolicy. This blocked Actions reads and prevented safe output in public-repository workflows.Public-scope fallback
Public.Regression coverage
actions_listresource labeling with an existing private label under public scope.private:on mcpg v0.4.8 — #10465 fix incomplete #10830