Skip to content

Commit

Permalink
Only run the full compliance nightly (#2700)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow authored Jan 10, 2024
1 parent ec9b1c5 commit eeb8b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/azure-templates-stages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ stages:
installEmsdk: true
initScript: source ~/emsdk/emsdk_env.sh

- ${{ 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)) }}:
- ${{ 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)) }}:
- template: security/full/v1.yml@xamarin-templates
parameters:
stageDependsOn:
Expand Down

0 comments on commit eeb8b70

Please sign in to comment.