From f832be61a24bf3b35a213a5d5dad505e6665dfb0 Mon Sep 17 00:00:00 2001 From: stuartmorgan Date: Mon, 6 Jun 2022 12:54:11 -0400 Subject: [PATCH] [ci] Sync Cirrus task filter with flutter/plugins Brings flutter/packages into alignment with flutter/plugins https://github.com/flutter/plugins/pull/5918 --- .cirrus.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index c97c88984304..9588f3685fb9 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,8 +1,7 @@ gcp_credentials: ENCRYPTED[!ebad0a1f4f7a446b77944c33651460a7ab010b4617273cb016cf354eb8fc22aa92e37a3c58bfa4a0c40a799351e027a6!] -# Don't re-run tests for tags when releasing a package. -# Don't run on 'master' since it's a mirror of 'main'. -only_if: $CIRRUS_TAG == '' && $CIRRUS_BRANCH != 'master' +# Run on PRs and main branch post submit only. Don't run tests when tagging. +only_if: $CIRRUS_TAG == '' && ($CIRRUS_PR != '' || $CIRRUS_BRANCH == 'main') env: CHANNEL: "master" # Default to master when not explicitly set by a task.