Skip to content

[release/11.0] Enable OneLoc GitHub App auth in DevDiv - #17392

Merged
missymessa merged 3 commits into
dotnet:release/11.0from
missymessa:missymessa/backport-oneloc-devdiv-release-11.0
Aug 23, 2026
Merged

missymessa merged 3 commits into
dotnet:release/11.0from
missymessa:missymessa/backport-oneloc-devdiv-release-11.0

Conversation

@missymessa

Copy link
Copy Markdown
Member

Summary

Validation

  • parsed the modified OneLocBuild YAML
  • verified the DevDiv default, explicit override, and PAT fallback template paths
  • git diff --check

Backport of #17368.

missymessa and others added 3 commits August 23, 2026 09:00
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
Copilot AI lite review requested due to automatic review settings August 23, 2026 16:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 GitHubAppServiceConnection from dnceng-oneloc-githubapp to devdiv-oneloc-githubapp when 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/internal service connection" is managed by dnceng, but earlier the doc states DevDiv/DevDiv is 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 the dnceng/internal service 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
missymessa requested a review from ViktorHofer August 23, 2026 16:10
@missymessa
missymessa enabled auto-merge (squash) August 23, 2026 16:10
@missymessa
missymessa merged commit 8a334d5 into dotnet:release/11.0 Aug 23, 2026
10 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-rc2 milestone Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants