Skip to content

Commit 547bcb7

Browse files
authored
Set low priority for scheduled runs (#70)
1 parent 0203252 commit 547bcb7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

eng/ci/official-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ schedules:
2020
# Build nightly to catch any new CVEs and report SDL often.
2121
# We are also required to generated CodeQL reports weekly, so this
2222
# helps us meet that.
23-
- cron: "0 0 * * *"
23+
- cron: "0 5 * * *"
2424
displayName: Nightly Build
2525
branches:
2626
include:
@@ -45,6 +45,9 @@ extends:
4545
name: 1es-pool-azfunc
4646
image: 1es-ubuntu-22.04
4747
os: linux
48+
${{ if eq( variables['Build.Reason'], 'Schedule' ) }}:
49+
demands:
50+
- Priority -equals Low
4851
sdl:
4952
sourceAnalysisPool:
5053
name: 1es-pool-azfunc

0 commit comments

Comments
 (0)