Skip to content

Commit 0bc85a1

Browse files
Run outerloop pipeline only for release branches, not staging/preview (#115012)
I noticed we were sending 30k workitems each day to various Helix queues, this is due to the outerloop pipeline having a schedule triggere which matches old preview branches or the staging branches. This fixes that and also sets it so that the trigger only applies if there are actual source changes. Co-authored-by: Alexander Köplinger <[email protected]>
1 parent a3f72b1 commit 0bc85a1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

eng/pipelines/libraries/outerloop-mono.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ schedules:
66
branches:
77
include:
88
- main
9+
always: false # run only if there were changes since the last successful scheduled run.
910

1011
variables:
1112
- template: variables.yml

eng/pipelines/libraries/outerloop.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ schedules:
66
branches:
77
include:
88
- main
9-
- release/*.*
9+
- release/*.0
10+
always: false # run only if there were changes since the last successful scheduled run.
1011

1112
variables:
1213
- template: variables.yml

0 commit comments

Comments
 (0)