Repository navigation
Allow Runner Doctor to review untrusted PR content - #11419
Conversation
|
@copilot merge main and resolve conflicts |
| github: | ||
| toolsets: [issues, pull_requests] | ||
| allowed-repos: [github/gh-aw-firewall] | ||
| min-integrity: none |
…ner-doctor-updater # Conflicts: # .github/workflows/self-hosted-runner-doctor-updater.lock.yml Co-authored-by: lpcox <[email protected]>
Merged |
There was a problem hiding this comment.
🟡 Changes recommended
The cache-key change breaks existing regression assertions, while disabled threat detection leaves automatically published issues exposed to injected recommendations from untrusted repository content.
2 open issues
What changed in this PR
Unblocks Runner Doctor’s diagnosis-maintenance reviews by allowing untrusted issue and PR content while restricting GitHub reads to this repository.
Changes:
- Sets an explicit repository allowlist and
min-integrity: none. - Regenerates the lock with policy-aware proxy, gateway, and cache configuration.
- Adds regression assertions for the access settings.
| File | Description |
|---|---|
scripts/ci/self-hosted-runner-doctor-updater-workflow.test.ts |
Checks repository scope and integrity settings in source and lock. |
.github/workflows/self-hosted-runner-doctor-updater.md |
Allows untrusted content reads within github/gh-aw-firewall. |
.github/workflows/self-hosted-runner-doctor-updater.lock.yml |
Applies the compiled access policy and related runtime configuration. |
Review effort: Max (auto)
| uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 | ||
| with: | ||
| key: memory-none-nopolicy-${{ env.GH_AW_WORKFLOW_ID_SANITIZED }}-${{ github.run_id }} | ||
| key: memory-none-624a7cc8-${{ env.GH_AW_WORKFLOW_ID_SANITIZED }}-${{ github.run_id }} |
| github: | ||
| toolsets: [issues, pull_requests] | ||
| allowed-repos: [github/gh-aw-firewall] | ||
| min-integrity: none |
|
@copilot address all review feedback including security reviews |
Co-authored-by: lpcox <[email protected]>
Addressed the review feedback: raised the GitHub integrity floor to |
|
✅ Copilot review passed with no inline comments. @copilot Add the |

The updater’s default integrity threshold filtered PR details from its review queue, so it reported incomplete coverage. The workflow now permits reading untrusted content while limiting GitHub access to this repository.
min-integrity: noneand restrict reads withallowed-repos.