Repository navigation
CI: Do not persist checkout credentials during Copilot setup - #9233
Merged
Dmitriy Vasyura (dmitrivMS) merged 4 commits intoNov 27, 2026
Merged
Dmitriy Vasyura (dmitrivMS) merged 4 commits into
Dmitriy Vasyura (dmitrivMS) merged 4 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Read isAgentManaged from current VS Code hosts and preserve the agent window behavior on 1.148, which exposes the previous name. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep the upstream agent workspace API migration and drop the superseded branch-only helper and tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Dmitriy Vasyura (dmitrivMS)
marked this pull request as ready for review
November 27, 2026 12:35
Dmitriy Vasyura (dmitrivMS)
enabled auto-merge (squash)
November 27, 2026 12:35
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for the change disabling checkout credential persistence.
No open issues 🎉
What changed in this PR
This PR hardens the Copilot setup workflow by preventing checkout credentials from remaining available to subsequent setup steps.
Changes:
- Sets
persist-credentials: falseon checkout, preserving authenticated repository checkout without retaining its token for later steps.
| File | Description |
|---|---|
.github/workflows/copilot-setup-steps.yml |
Disables credential persistence for the checkout action. |
Review effort: Balanced
Federico Brancasi (federicobrancasi)
approved these changes
Nov 27, 2026
Giuseppe Cianci (Giuspepe)
approved these changes
Nov 27, 2026
Dmitriy Vasyura (dmitrivMS)
deleted the
cleanup/copilot-setup-credentials-e6334148
branch
November 27, 2026 13:44
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.
Copilot setup needs read access to check out the repository. Its remaining steps install public packages and download VS Code type definitions; none needs authenticated Git access. Disable credential persistence on checkout so those steps do not inherit its token.