fix: add github/gh-aw to log analyzer allowed-repos#3866
Merged
Conversation
…egrity The MCP Gateway Log Analyzer workflow (#3836) failed because the agent could not access github/gh-aw resources. The workflow's entire purpose is to analyze logs from gh-aw workflow runs, but: 1. allowed-repos only listed github/gh-aw-mcpg (missing gh-aw) 2. min-integrity: unapproved blocked gh-aw resources that have lower integrity levels Changes: - Add github/gh-aw to allowed-repos list - Lower min-integrity to none (workflow is read-only log analysis) - Recompile lock file Closes #3836 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the MCP Gateway Log Analyzer agent workflow configuration so it can successfully read and analyze workflow logs from the intended target repository (github/gh-aw) without being blocked by repo allowlisting or integrity filtering.
Changes:
- Added
github/gh-awto the GitHub toolallowed-reposlist for the log analyzer workflow. - Lowered
min-integrityfromunapprovedtononeto allow reads from lower-integrity resources ingithub/gh-aw. - Regenerated the compiled workflow lockfile to reflect the updated frontmatter/tool guard policy configuration.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/mcp-gateway-log-analyzer.md |
Expands GitHub MCP repo allowlist and relaxes integrity requirement to enable read-only analysis of github/gh-aw. |
.github/workflows/mcp-gateway-log-analyzer.lock.yml |
Recompiled lockfile updates embedded guard policy JSON (repos + min-integrity) and related metadata hashes. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 0
This was referenced Apr 15, 2026
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.
Problem
The MCP Gateway Log Analyzer workflow failed (#3836) because the agent couldn't access
github/gh-awresources due to two configuration issues:allowed-reposmissinggh-aw— The workflow's purpose is to analyze logs fromgithub/gh-awworkflow runs, but onlygithub/gh-aw-mcpgwas in the allowed-repos listmin-integrity: unapprovedtoo restrictive — Resources ingh-awhave lower integrity levels, causing the guard to filter all MCP tool calls targeting that repoThe agent reported:
Fix
github/gh-awtoallowed-reposso the agent can access the target repomin-integritytonone— appropriate since the workflow is read-only log analysis (no code modifications)Verification
gh aw compile mcp-gateway-log-analyzersucceedsmake agent-finishedpasses all checksCloses #3836