Repository navigation
[release/11.0] Enable OneLoc GitHub App auth in DevDiv - #17392
Merged
missymessa merged 3 commits intoAug 23, 2026
Merged
missymessa merged 3 commits into
missymessa merged 3 commits into
Conversation
Copilot-Session: 80f6a0c6-7947-4200-bb78-7f0fc01d671a
Automatically select the DevDiv-scoped service connection while preserving explicit overrides and document both supported Azure DevOps projects. Co-authored-by: Copilot <[email protected]> Copilot-Session: 9236931a-f5da-4ff3-83a9-539cf86b6df0
Document that Arcade remaps the inherited dnceng default while preserving values that differ from the default. Co-authored-by: Copilot <[email protected]> Copilot-Session: 9236931a-f5da-4ff3-83a9-539cf86b6df0
Contributor
There was a problem hiding this comment.
Pull request overview
Enables the OneLocBuild job template to use GitHub App authentication by default in the DevDiv Azure DevOps project, while preserving explicit service-connection overrides and retaining PAT fallback when the App path is not selected.
Changes:
- Extend GitHub App token minting/selection logic to run by default in
DevDiv/DevDiv, with an escape hatch (UseGitHubAppAuthenticationInOtherProjects) for other projects. - Auto-map the default
GitHubAppServiceConnectionfromdnceng-oneloc-githubapptodevdiv-oneloc-githubappwhen running in DevDiv (while preserving non-default overrides). - Update OneLocBuild documentation to reflect the new default behavior, mapping, and explicit opt-in flow.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| eng/common/core-templates/job/onelocbuild.yml | Expands App-token gating to include DevDiv by default and adds explicit opt-in for other projects; auto-selects the DevDiv-scoped service connection when appropriate. |
| Documentation/OneLocBuildGitHubApp.md | Documents DevDiv default enablement, the service-connection mapping, and opt-in instructions for other projects. |
| Documentation/OneLocBuild.md | Updates template parameter docs to include DevDiv default behavior and the new explicit opt-in parameter. |
Suppressed comments (1)
Documentation/OneLocBuildGitHubApp.md:57
- The Step 1 intro still says the "backing
dnceng/internalservice connection" is managed by dnceng, but earlier the doc statesDevDiv/DevDivis also enabled by default with its own project-scoped connection. This is inconsistent and can confuse DevDiv readers; consider rephrasing this to refer to the App installation (and shared Key Vault key) without implying only thednceng/internalservice connection is involved.
connection and authorize the intended pipeline.
### Step 1 — Request that your repository be added to the App installation
The App installation and the backing `dnceng/internal` service connection / Key Vault key are
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
missymessa
enabled auto-merge (squash)
August 23, 2026 16:10
ViktorHofer
approved these changes
Aug 23, 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
DevDiv/DevDivdevdiv-oneloc-githubappwhen the inherited connection remainsdnceng-oneloc-githubappValidation
git diff --checkBackport of #17368.