Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit a7e450f

Browse files
committed
Update filter to run tasks only on PRs and main branch.
The filter will run post-submit tests only on main branch and all the PRs.
1 parent 7cad599 commit a7e450f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.cirrus.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ gcp_credentials: ENCRYPTED[!ebad0a1f4f7a446b77944c33651460a7ab010b4617273cb016cf
33
# Don't run on release tags since it creates O(n^2) tasks where n is the
44
# number of plugins.
55
# Don't run on 'master' since it's a mirror of 'main'.
6-
only_if: $CIRRUS_TAG == '' && $CIRRUS_BRANCH != 'master'
6+
only_if: $CIRRUS_PR != '' || $CIRRUS_BRANCH == 'main'
77
env:
88
CHANNEL: "master" # Default to master when not explicitly set by a task.
99
PLUGIN_TOOL: "./script/tool/bin/flutter_plugin_tools.dart"

0 commit comments

Comments
 (0)