Skip to content

Commit f832be6

Browse files
[ci] Sync Cirrus task filter with flutter/plugins
Brings flutter/packages into alignment with flutter/plugins flutter/plugins#5918
1 parent aedd3e5 commit f832be6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.cirrus.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
gcp_credentials: ENCRYPTED[!ebad0a1f4f7a446b77944c33651460a7ab010b4617273cb016cf354eb8fc22aa92e37a3c58bfa4a0c40a799351e027a6!]
22

3-
# Don't re-run tests for tags when releasing a package.
4-
# Don't run on 'master' since it's a mirror of 'main'.
5-
only_if: $CIRRUS_TAG == '' && $CIRRUS_BRANCH != 'master'
3+
# Run on PRs and main branch post submit only. Don't run tests when tagging.
4+
only_if: $CIRRUS_TAG == '' && ($CIRRUS_PR != '' || $CIRRUS_BRANCH == 'main')
65
env:
76
CHANNEL: "master" # Default to master when not explicitly set by a task.
87

0 commit comments

Comments
 (0)