Unverified Commit 3ce2ab91 authored by Christopher Fujino's avatar Christopher Fujino Committed by GitHub

Auto-submit pub packages autoroll PRs (#108635)

parent d9ce9be0
......@@ -14,5 +14,6 @@
/packages/flutter_test/lib/src/_goldens_io.dart @Piinks
/packages/flutter_test/lib/src/_goldens_web.dart @Piinks
/packages/flutter_test/lib/src/goldens.dart @Piinks
/packages/flutter_tools/pubspec.yaml @christopherfujino
/packages/flutter_tools/templates/module/ios/ @jmagman
/packages/flutter_tools/templates/**/Podfile* @jmagman
......@@ -176,6 +176,8 @@ This PR was generated by `flutter update-packages --force-upgrade`.
String base = FrameworkRepository.defaultBranch,
bool draft = false,
}) async {
const List<String> labels = <String>['tool', 'autosubmit'];
// We will wrap title and body in double quotes before delegating to gh
// binary
await cli(
......@@ -190,8 +192,7 @@ This PR was generated by `flutter update-packages --force-upgrade`.
'$orgName:${await featureBranchName}',
'--base',
base,
'--label',
'tool',
for (final String label in labels) ...<String>['--label', label],
if (draft)
'--draft',
],
......
......@@ -454,6 +454,8 @@ void main() {
FrameworkRepository.defaultBranch,
'--label',
'tool',
'--label',
'autosubmit',
]),
const FakeCommand(command: <String>[
'gh',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment