Skip to content

[release/10.0.1xx-sr9] Use WIF for OneLocBuild feed access - #37614

Merged
kubaflo merged 1 commit into
dotnet:release/10.0.1xx-sr9from
missymessa:users/mjanecke/oneloc-wif-release-10.0.1xx-sr9
Aug 18, 2026
Merged

kubaflo merged 1 commit into
dotnet:release/10.0.1xx-sr9from
missymessa:users/mjanecke/oneloc-wif-release-10.0.1xx-sr9

Conversation

@missymessa

Copy link
Copy Markdown
Member

Description of Change

Backport of #37607 to release/10.0.1xx-sr9.

Replace MAUI's long-lived dn-bot-ceapex-package-r dependency with a short-lived Entra token for OneLocBuild package restores. The pipeline acquires the token through the existing DevDiv dnceng-onelocbuild-ceapex workload-identity service connection and Arcade's shared federated-token helper. GitHub PR authentication is unchanged.

The DevDiv service connection is configured for workload identity federation and MAUI pipeline 13330 is authorized to use it.

Validation

  • Parsed the updated pipeline as YAML.
  • Verified the shared federated-token helper exists on this release branch.
  • Verified the legacy ceapex PAT is no longer referenced by MAUI's repo-owned localization pipeline.

Issues Fixed

Tracks dnceng work item 10151.

Replace the ceapex packaging PAT with a short-lived Entra token acquired through the DevDiv WIF service connection.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 80f6a0c6-7947-4200-bb78-7f0fc01d671a
Copilot AI lite review requested due to automatic review settings August 18, 2026 22:31
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 37614

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 37614"

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hey there @@missymessa! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hey there @missymessa! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

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

This PR updates MAUI’s DevDiv localization pipeline template to authenticate to OneLocBuild package sources using workload identity federation (WIF) instead of the long-lived dn-bot-ceapex-package-r PAT. This aligns with the stated goal of moving to short-lived tokens while keeping GitHub PR auth behavior unchanged.

Changes:

  • Replaces the CeapexPat parameter with a CeapexServiceConnection parameter (dnceng-onelocbuild-ceapex).
  • Adds a get-federated-access-token.yml step to acquire a short-lived Azure DevOps access token and store it in CeapexEntraToken.
  • Passes $(CeapexEntraToken) into OneLocBuild@2 via patVariable, while continuing to use the existing GitHub PAT input.

PR metadata check (title/description vs diff):

  • Title matches the implementation (WIF-based feed access for OneLocBuild on the release branch).
  • Description matches the implementation details (uses the specified service connection, uses the shared federated-token helper, and removes the legacy ceapex PAT reference from this repo-owned pipeline).

@kubaflo
kubaflo merged commit 554307f into dotnet:release/10.0.1xx-sr9 Aug 18, 2026
9 of 11 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 18, 2026

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 05db9a7e Deployed Aug 18, 2026 by missymessa via conclusion #1421
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community ✨ Community Contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants