Skip to content

Commit

Permalink
Add auto-baseline main pipeline config for core (Azure#31098)
Browse files Browse the repository at this point in the history
This should address the baseline PRs coming in for every pipeline
  • Loading branch information
benbp authored Sep 12, 2024
1 parent 91c9fd7 commit c5d7d2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eng/pipelines/templates/stages/1es-redirect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ extends:
settings:
skipBuildTagsForGitHubPullRequests: true
sdl:
${{ if and(eq(variables['Build.DefinitionName'], 'js - core'), eq(variables['Build.SourceBranchName'], 'main'), eq(variables['System.TeamProject'], 'internal')) }}:
autobaseline:
isMainPipeline: true
enableForGitHub: true
# Turn off the build warnings caused by disabling some sdl checks
createAdoIssuesForJustificationsForDisablement: false
sourceAnalysisPool:
Expand Down

0 comments on commit c5d7d2d

Please sign in to comment.