Skip to content

Disable OneLocBuild PRs against non-main branches#13690

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/disable-loc-prs-non-main-branches
Draft

Disable OneLocBuild PRs against non-main branches#13690
Copilot wants to merge 2 commits intomainfrom
copilot/disable-loc-prs-non-main-branches

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 5, 2026

The OneLocBuild pipeline was opening localization PRs against both main and active vs* release branches. Loc PRs should only target main.

Context

.vsts-dotnet.yml has two OneLocBuild jobs in the localization stage — one for vs* release branches (gated by EnableReleaseOneLocBuild) and one for main. The release-branch job was enabled, causing unwanted loc PRs against servicing branches.

Changes Made

  • Set EnableReleaseOneLocBuild: false in .vsts-dotnet.yml

This variable is evaluated at template compilation time (condition: ${{ variables.EnableReleaseOneLocBuild }}), so the release-branch OneLocBuild job is suppressed entirely. The main branch job is unaffected.

Testing

CI pipeline configuration change only — no code changes.

Notes

The EnableReleaseOneLocBuild toggle already existed for this purpose; this PR flips it to the correct default.

Copilot AI linked an issue May 5, 2026 that may be closed by this pull request
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Hello @copilot, I noticed that you’re changing an .swr file or any file under src/Package/MSBuild.VSSetup.. Please make sure to validate this change by an experimental VS insertion. This is accomplished by pushing to an exp/* branch, which requires write permissions to this repo.

Copilot AI changed the title [WIP] Update OneLocBuild to disable localization PRs against non-main branches Disable OneLocBuild PRs against non-main branches May 5, 2026
Copilot finished work on behalf of OvesN May 5, 2026 15:35
Copilot AI requested a review from OvesN May 5, 2026 15:35
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.

Disable OneLocBuild PRs against non-main branches

2 participants