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 @@ ...@@ -14,5 +14,6 @@
/packages/flutter_test/lib/src/_goldens_io.dart @Piinks /packages/flutter_test/lib/src/_goldens_io.dart @Piinks
/packages/flutter_test/lib/src/_goldens_web.dart @Piinks /packages/flutter_test/lib/src/_goldens_web.dart @Piinks
/packages/flutter_test/lib/src/goldens.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/module/ios/ @jmagman
/packages/flutter_tools/templates/**/Podfile* @jmagman /packages/flutter_tools/templates/**/Podfile* @jmagman
...@@ -176,6 +176,8 @@ This PR was generated by `flutter update-packages --force-upgrade`. ...@@ -176,6 +176,8 @@ This PR was generated by `flutter update-packages --force-upgrade`.
String base = FrameworkRepository.defaultBranch, String base = FrameworkRepository.defaultBranch,
bool draft = false, bool draft = false,
}) async { }) async {
const List<String> labels = <String>['tool', 'autosubmit'];
// We will wrap title and body in double quotes before delegating to gh // We will wrap title and body in double quotes before delegating to gh
// binary // binary
await cli( await cli(
...@@ -190,8 +192,7 @@ This PR was generated by `flutter update-packages --force-upgrade`. ...@@ -190,8 +192,7 @@ This PR was generated by `flutter update-packages --force-upgrade`.
'$orgName:${await featureBranchName}', '$orgName:${await featureBranchName}',
'--base', '--base',
base, base,
'--label', for (final String label in labels) ...<String>['--label', label],
'tool',
if (draft) if (draft)
'--draft', '--draft',
], ],
......
...@@ -454,6 +454,8 @@ void main() { ...@@ -454,6 +454,8 @@ void main() {
FrameworkRepository.defaultBranch, FrameworkRepository.defaultBranch,
'--label', '--label',
'tool', 'tool',
'--label',
'autosubmit',
]), ]),
const FakeCommand(command: <String>[ const FakeCommand(command: <String>[
'gh', '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