diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bcfbcac1..ac5dce35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ env: on: push: - branches: [master, feature.*] + branches: [main, feature.*] tags: ['**'] pull_request: diff --git a/tool/utils.dart b/tool/utils.dart index d5059b54..2eb303b1 100644 --- a/tool/utils.dart +++ b/tool/utils.dart @@ -12,7 +12,7 @@ import 'package:path/path.dart' as p; /// /// Returns the path to the repository. Future cloneOrPull(String url) async => - cloneOrCheckout(url, "origin/master"); + cloneOrCheckout(url, "origin/main"); /// Ensure that the repository at [url] is cloned into the build directory and /// pointing to [ref].