Repository navigation
Allow Runner Doctor to read unapproved PR content - #11492
Conversation
| toolsets: [issues, pull_requests] | ||
| allowed-repos: [github/gh-aw-firewall] | ||
| min-integrity: approved | ||
| min-integrity: unapproved |
There was a problem hiding this comment.
🟡 Changes recommended
The shared regression test rejects Runner Doctor’s new unapproved cache key and restore prefix, causing failures until both assertions are updated.
1 open issue
What changed in this PR
Allows Runner Doctor to read contributor PR content previously blocked by GitHub MCP’s integrity policy, addressing #11481 while retaining repository restrictions and threat detection.
Changes:
- Lower the GitHub integrity threshold from
approvedtounapproved. - Synchronize the compiled policy and isolated cache namespace.
- Update workflow-specific assertions and check that shared guidance treats PR and cache content as untrusted.
| File | Description |
|---|---|
scripts/ci/self-hosted-runner-doctor-updater-workflow.test.ts |
Updates threshold expectations and checks untrusted-content guidance. |
.github/workflows/self-hosted-runner-doctor-updater.md |
Allows unapproved content within the existing repository scope. |
.github/workflows/self-hosted-runner-doctor-updater.lock.yml |
Synchronizes compiled integrity settings and cache keys. |
Review effort: Max (auto)
| uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 | ||
| with: | ||
| key: memory-approved-9801deff-${{ env.GH_AW_WORKFLOW_ID_SANITIZED }}-${{ github.run_id }} | ||
| key: memory-unapproved-12e11c09-${{ env.GH_AW_WORKFLOW_ID_SANITIZED }}-${{ github.run_id }} |
|
@copilot address review feedback |
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
|
✅ Copilot review passed with no inline comments. @copilot Add the |
|
@copilot merge main and resolve conflicts |
…-doctor-updater Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
The shared cache key and restore-prefix assertions were updated in
Merged |

Runner Doctor reported incomplete because GitHub MCP filtered candidate PR content below its
approvedintegrity threshold.unapproved, allowing contributor PRs to be reviewed while retaining the repository restriction.