Skip to content

Branch validation override not working #1795

@mthalman

Description

@mthalman

When attempting to run an official pipeline on a non-official branch and setting the overrideOfficialBranchValidation variable to true, the pipeline will fail in the Validate Branch step:

##[error]Official builds must be done from an official branch (main) and repo prefix (public/,internal/private/,unlisted/).

This seems to be a regression from #1771 which changed the syntax that checks the overrideOfficialBranchValidation variable.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions