Skip to content

Commit cbea2d6

Browse files
committed
Set low priority for scheduled runs
1 parent 20ceeaa commit cbea2d6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

eng/ci/official-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ schedules:
1515
# Build nightly to catch any new CVEs and report SDL often.
1616
# We are also required to generated CodeQL reports weekly, so this
1717
# helps us meet that.
18-
- cron: "0 0 * * *"
18+
- cron: "0 6 * * *"
1919
displayName: Nightly Build
2020
branches:
2121
include:
@@ -41,6 +41,9 @@ extends:
4141
name: 1es-pool-azfunc
4242
image: 1es-windows-2022
4343
os: windows
44+
${{ if eq( variables['Build.Reason'], 'Schedule' ) }}:
45+
demands:
46+
- Priority -equals Low
4447

4548
stages:
4649
- stage: BuildAndSign

0 commit comments

Comments
 (0)