Repository navigation
Upgrade gh-aw to v0.79.8 and isolate PAT pool into copilot-pat-pool environment - #54969
Merged
jeffhandley merged 4 commits intoJun 26, 2026
Merged
Conversation
jeffhandley
commented
Jun 24, 2026
Member
- Add copilot-pat-pool environment to pat_pool.md shared workflow
- Add copilot-pat-pool environment to validate-pat-pool.yml
- Add copilot-pat-pool environment to add-tactics-template-on-comment.md workflow
- Remove default fall-back PAT (secrets.COPILOT_GITHUB_TOKEN) from case statements, use 'NO COPILOT PAT AVAILABLE' sentinel
- Update comment blocks to describe environment isolation
- Upgrade actions-lock.json to gh-aw-actions/setup v0.79.8 and actions/checkout v6.0.3
- Recompile add-tactics-template-on-comment.lock.yml with gh-aw v0.79.8 (--schedule-seed dotnet/sdk)
- Update pat_pool.README.md usage examples to match
…nvironment - Add copilot-pat-pool environment to pat_pool.md shared workflow - Add copilot-pat-pool environment to validate-pat-pool.yml - Add copilot-pat-pool environment to add-tactics-template-on-comment.md workflow - Remove default fall-back PAT (secrets.COPILOT_GITHUB_TOKEN) from case statements, use 'NO COPILOT PAT AVAILABLE' sentinel - Update comment blocks to describe environment isolation - Upgrade actions-lock.json to gh-aw-actions/setup v0.79.8 and actions/checkout v6.0.3 - Recompile add-tactics-template-on-comment.lock.yml with gh-aw v0.79.8 (--schedule-seed dotnet/sdk) - Update pat_pool.README.md usage examples to match Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR upgrades the repository’s agentic workflow tooling to gh-aw v0.79.8 and tightens Copilot PAT handling by isolating the PAT pool behind a dedicated copilot-pat-pool environment, removing the default fallback token path.
Changes:
- Add
environment: copilot-pat-poolto PAT-pool related workflows/imports so PAT secrets are only accessible within the isolated environment. - Remove the default fallback
secrets.COPILOT_GITHUB_TOKENfromcase(...)lookups and replace with a sentinel value ('NO COPILOT PAT AVAILABLE'). - Upgrade pinned action references (including
github/gh-aw-actions/[email protected]andactions/[email protected]) and recompile theadd-tactics-template-on-commentlock workflow with the new gh-aw version.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/validate-pat-pool.yml | Runs validation within the isolated copilot-pat-pool environment. |
| .github/workflows/shared/pat_pool.README.md | Updates usage guidance to require the isolated environment and removes fallback PAT behavior. |
| .github/workflows/shared/pat_pool.md | Ensures the imported PAT pool job runs under copilot-pat-pool. |
| .github/workflows/add-tactics-template-on-comment.md | Applies the isolated environment and sentinel PAT fallback to the authoring workflow. |
| .github/workflows/add-tactics-template-on-comment.lock.yml | Regenerated lock workflow with gh-aw v0.79.8, updated pins, and expanded runtime/guardrail logic. |
| .github/aw/actions-lock.json | Updates pinned action SHAs/versions for checkout and gh-aw setup. |
marcpopMSFT
approved these changes
Jun 25, 2026
Member
Author
|
/ba-g unrelated failures |
Member
|
@jeffhandley I'm getting an error from this workflow (which adds a notification to my github inbox) on seemingly every comment I publish: |
Member
Author
|
The config is fixed, @jjonescz. Sorry for the disruption; thanks for reporting! |
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.