Auto-submit pub packages autoroll PRs (#108635)

This commit is contained in:
Christopher Fujino 2022-07-29 12:53:05 -07:00 committed by GitHub
parent d9ce9be0e2
commit 3ce2ab9159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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`.
'$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',
], ],

View File

@ -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',