Skip to content

Commit 7506fe6

Browse files
authored
Only run the full compliance nightly (#2701)
1 parent bef60ae commit 7506fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/azure-templates-stages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ stages:
913913
installEmsdk: true
914914
initScript: source ~/emsdk/emsdk_env.sh
915915

916-
- ${{ if and(eq(variables['System.TeamProject'], 'devdiv'), ne(parameters.buildPipelineType, 'tests'), ne(variables['System.PullRequest.IsFork'], 'true'), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), parameters.runCompliance)) }}:
916+
- ${{ if and(eq(variables['System.TeamProject'], 'devdiv'), ne(parameters.buildPipelineType, 'tests'), ne(variables['System.PullRequest.IsFork'], 'true'), or(and(eq(variables['Build.Reason'], 'Schedule'), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))), parameters.runCompliance)) }}:
917917
- template: security/full/v1.yml@xamarin-templates
918918
parameters:
919919
stageDependsOn:

0 commit comments

Comments
 (0)