mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-17 15:24:40 +01:00
fix: enhance release approval condition to include main and release branches (#302057)
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -710,7 +710,7 @@ extends:
|
||||
baseImage: ubuntu:24.04
|
||||
arch: arm64
|
||||
|
||||
- ${{ if and(parameters.VSCODE_RELEASE, eq(variables['VSCODE_PRIVATE_BUILD'], false)) }}:
|
||||
- ${{ if and(parameters.VSCODE_RELEASE, eq(variables['VSCODE_PRIVATE_BUILD'], false), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))) }}:
|
||||
- stage: ApproveRelease
|
||||
dependsOn: [] # run in parallel to compile stage
|
||||
pool:
|
||||
|
||||
Reference in New Issue
Block a user