[release/v7.4] Hardcode Official templates (#26928)#26962
[release/v7.4] Hardcode Official templates (#26928)#26962jshigetomi merged 1 commit intoPowerShell:release/v7.4.14from
Conversation
There was a problem hiding this comment.
Pull request overview
This PR backports the change to hardcode OneBranch Official governed templates in the release/v7.4 “Official” Azure Pipelines definitions, removing the queue-time OfficialBuild switch and forcing Production/Official template paths.
Changes:
- Remove the
OfficialBuildboolean parameter and associated conditional template selection in multiple “Official” pipelines. - Hardcode pipeline naming to include
prod.trueand hardcodeextends.templateto the Official OneBranch templates. - In the coordinated binaries pipeline, add a
FORCE_CODEQLparameter and set related variables while also forcingps_official_build: true.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
There was a problem hiding this comment.
FORCE_CODEQL is described as enabling CodeQL, but this pipeline only sets CodeQL.Cadence/CODEQL_ENABLED here; the build templates it invokes (e.g. .pipelines/templates/windows-hosted-build.yml and linux.yml) gate CodeQL3000Init/Finalize strictly on Build.SourceBranch == refs/heads/master. That means FORCE_CODEQL: true won’t actually enable CodeQL runs on non-master branches. Consider wiring the CodeQL task conditions in those templates to variables['CODEQL_ENABLED'] (or similar), or rename/remove this parameter to avoid implying behavior it can’t provide.

Backport #26956