From ce96802a6dcf2007ac6902b7f7dd82fdab0a5b3d Mon Sep 17 00:00:00 2001 From: Gary Verhaegen Date: Tue, 12 Jan 2021 13:10:27 +0100 Subject: [PATCH] only update NOTICES from main daily compats (#8473) See #8468 for failure mode of current config. CHANGELOG_BEGIN CHANGELOG_END --- ci/cron/daily-compat.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/cron/daily-compat.yml b/ci/cron/daily-compat.yml index 825cbf2320..f98270dad1 100644 --- a/ci/cron/daily-compat.yml +++ b/ci/cron/daily-compat.yml @@ -285,5 +285,7 @@ jobs: git add NOTICES open_pr "notices-update-$(Build.BuildId)" "update NOTICES file" fi - displayName: notices + displayName: open PR + condition: and(succeeded(), + eq(variables['Build.SourceBranchName'], 'main')) - template: ../daily_tell_slack.yml