Skip to content

Commit 73c54d8

Browse files
authored
Set low priority for scheduled runs (#294)
1 parent d561432 commit 73c54d8

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
@@ -14,7 +14,7 @@ schedules:
1414
# Build nightly to catch any new CVEs and report SDL often.
1515
# We are also required to generated CodeQL reports weekly, so this
1616
# helps us meet that.
17-
- cron: "0 0 * * *"
17+
- cron: "0 6 * * *"
1818
displayName: Nightly Build
1919
branches:
2020
include:
@@ -39,6 +39,9 @@ extends:
3939
name: 1es-pool-azfunc
4040
image: 1es-windows-2022
4141
os: windows
42+
${{ if eq( variables['Build.Reason'], 'Schedule' ) }}:
43+
demands:
44+
- Priority -equals Low
4245

4346
stages:
4447
- stage: BuildAndSign

0 commit comments

Comments
 (0)