From 935cda77ff0e089fd089aa60822f2f03e5b7ae34 Mon Sep 17 00:00:00 2001 From: "Daniel Castro (DevDiv)" Date: Sun, 12 Oct 2025 09:04:54 -0700 Subject: [PATCH] Set low priority for scheduled runs --- eng/ci/official-build.yml | 5 ++++- eng/ci/public-build.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/eng/ci/official-build.yml b/eng/ci/official-build.yml index 56d70d7..748006e 100644 --- a/eng/ci/official-build.yml +++ b/eng/ci/official-build.yml @@ -1,5 +1,5 @@ schedules: -- cron: "0 0 * * *" +- cron: "0 4 * * *" displayName: Nightly Build branches: include: @@ -49,6 +49,9 @@ extends: name: 1es-pool-azfunc image: 1es-windows-2022 os: windows + ${{ if eq( variables['Build.Reason'], 'Schedule' ) }}: + demands: + - Priority -equals Low stages: - stage: BuildAndTest diff --git a/eng/ci/public-build.yml b/eng/ci/public-build.yml index 4e9e0c4..a55901c 100644 --- a/eng/ci/public-build.yml +++ b/eng/ci/public-build.yml @@ -1,5 +1,5 @@ schedules: - - cron: '0 0 * * *' + - cron: "0 4 * * *" displayName: Nightly Build branches: include: @@ -31,6 +31,9 @@ extends: name: 1es-pool-azfunc-public image: 1es-windows-2022 os: windows + ${{ if eq( variables['Build.Reason'], 'Schedule' ) }}: + demands: + - Priority -equals Low sdl: codeql: