Auto-submit pub packages autoroll PRs (#108635)
This commit is contained in:
parent
d9ce9be0e2
commit
3ce2ab9159
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user