Skip to content

Commit e4837ca

Browse files
godofredocmvanbeusekom
authored andcommitted
Update filter to run tasks only on PRs and main branch. (flutter#5883)
1 parent b6aad3c commit e4837ca

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.cirrus.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
gcp_credentials: ENCRYPTED[!ebad0a1f4f7a446b77944c33651460a7ab010b4617273cb016cf354eb8fc22aa92e37a3c58bfa4a0c40a799351e027a6!]
22

3-
# Don't run on release tags since it creates O(n^2) tasks where n is the
4-
# number of plugins.
5-
# Don't run on 'master' since it's a mirror of 'main'.
6-
only_if: $CIRRUS_TAG == '' && $CIRRUS_BRANCH != 'master'
3+
# Run on PRs and main branch post submit only.
4+
only_if: $CIRRUS_PR != '' || $CIRRUS_BRANCH == 'main'
75
env:
86
CHANNEL: "master" # Default to master when not explicitly set by a task.
97
PLUGIN_TOOL: "./script/tool/bin/flutter_plugin_tools.dart"

0 commit comments

Comments
 (0)