Migrate GH-AW reviewer to PAT pool#394
Draft
vitek-karas wants to merge 1 commit into
Draft
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jeffhandley
approved these changes
Jun 28, 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.
Summary
.github/workflows/shared/validate-pat-pool.ymlso the PAT pool can be checked independently.github/aw/actions-lock.jsonValidation
gh aw compile .github/workflows/android-tools-reviewer.md --schedule-seed dotnet/android-tools --approvedotnet build Xamarin.Android.Tools.slndotnet test tests\Microsoft.Android.Build.BaseTasks-Tests\Microsoft.Android.Build.BaseTasks-Tests.csprojdotnet test tests\Xamarin.Android.Tools.AndroidSdk-Tests\Xamarin.Android.Tools.AndroidSdk-Tests.csprojstill has the pre-existingJdkDirectory_JavaHome("JI_JAVA_HOME")failure in both the feature worktree and the cleanmaincheckout becauseJAVA_HOMEis set in the local environmentSecurity review note
I reviewed the newly introduced secret references, action revisions, and generated workflow manifest changes from the PAT pool migration.
Secrets
Added restricted secrets:
COPILOT_PAT_0COPILOT_PAT_1COPILOT_PAT_2COPILOT_PAT_3COPILOT_PAT_4COPILOT_PAT_5COPILOT_PAT_6COPILOT_PAT_7COPILOT_PAT_8COPILOT_PAT_9These are only used to select a PAT slot number inside the isolated
pat_pooljob and then resolve the selected slot through acase(...)expression inengine.env, matching the documented pattern in dotnet/vitals PAT pool guidance and the example in dotnet/xharness#1626.Actions and generated runtime updates
github/gh-aw-actions/setupupdated fromv0.79.8tov0.80.9(8c7d04ebf1ece56cd381446125da3e0f6896294a)gh awv0.80.9:ghcr.io/github/gh-aw-firewall/agent:0.27.7ghcr.io/github/gh-aw-firewall/api-proxy:0.27.7ghcr.io/github/gh-aw-firewall/squid:0.27.7ghcr.io/github/gh-aw-mcpg:v0.3.27ghcr.io/github/gh-aw-nodeghcr.io/github/github-mcp-server:v1.4.0I reviewed these as safe because they are generated by the official
gh awcompiler during recompilation of the existing workflow, align with the PAT pool migration shape used in dotnet/runtime#129840, and do not introduce any custom third-party action beyond the standard GitHub / gh-aw generated set already used by this workflow.Redirect changes
No redirect changes were introduced.