From 28c9d9f671d295fe7e6b994333b561ac07a13a79 Mon Sep 17 00:00:00 2001 From: Dillon Nys Date: Thu, 31 Aug 2023 08:39:37 -0700 Subject: [PATCH] ci: Consolidate dependabot config Instead of a separate entry for each pub/gradle package, use `/` for both ecosystems and leverage `groups` to reduce the number of Dependabot PRs being created. --- .github/dependabot.yaml | 1591 ++--------------- .../generate/generate_workflows_command.dart | 105 +- 2 files changed, 193 insertions(+), 1503 deletions(-) diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index dff16432cd5..d9cf56a184c 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -6,1508 +6,167 @@ updates: directory: "/" schedule: interval: "weekly" + # The `github-actions` ecosystem only searches + # `.github/workflows` by default. - package-ecosystem: "github-actions" directory: ".github/composite_actions" schedule: interval: "weekly" - - package-ecosystem: "pub" - directory: "actions" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - package-ecosystem: "pub" - directory: "canaries" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_analytics_pinpoint" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_api" - - dependency-name: "amplify_api_dart" - - dependency-name: "amplify_flutter" - - dependency-name: "amplify_auth_cognito" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "smithy_codegen" - - dependency-name: "amplify_authenticator" - - dependency-name: "amplify_datastore" - - dependency-name: "amplify_datastore_plugin_interface" - - dependency-name: "amplify_storage_s3" - - dependency-name: "amplify_storage_s3_dart" - - package-ecosystem: "pub" + + - package-ecosystem: "npm" directory: "infra" schedule: - interval: "daily" + interval: "weekly" ignore: # Ignore patch version bumps - dependency-name: "*" update-types: - "version-update:semver-patch" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/aft" + + - package-ecosystem: "gradle" + directory: "/" schedule: - interval: "daily" + interval: "weekly" ignore: + # Ignore Kotlin updates since we should always match Flutter stable + # to ensure users can have Kt versions >= Flutter stable. + - dependency-name: "kotlin_version" + - dependency-name: "org.jetbrains.kotlin:kotlin-gradle-plugin" + # Ignore patch version bumps - dependency-name: "*" update-types: - "version-update:semver-patch" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "pub_server" - - dependency-name: "smithy" - - dependency-name: "smithy_codegen" - - dependency-name: "aws_signature_v4" - - dependency-name: "smithy_aws" + groups: + amplify-android: + patterns: + - "com.amplifyframework:*" + - "com.amazonaws:*" + mockito: + patterns: + - "org.mockito:*" + - package-ecosystem: "pub" - directory: "packages/amplify/amplify_flutter" + directory: "/" schedule: interval: "daily" + + # Ignore all repo packages ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" + - dependency-name: "amplify_flutter" - dependency-name: "amplify_core" - - dependency-name: "aws_common" + - dependency-name: "amplify_datastore" + - dependency-name: "amplify_datastore_plugin_interface" - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - package-ecosystem: "pub" - directory: "packages/amplify/amplify_flutter/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - dependency-name: "amplify_analytics_pinpoint" - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_secure_storage" - dependency-name: "amplify_api" - dependency-name: "amplify_api_dart" - - dependency-name: "amplify_flutter" - dependency-name: "amplify_auth_cognito" - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "smithy_codegen" - - dependency-name: "amplify_datastore" - - dependency-name: "amplify_datastore_plugin_interface" - - dependency-name: "amplify_storage_s3" - - dependency-name: "amplify_storage_s3_dart" - - package-ecosystem: "pub" - directory: "packages/amplify_core" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/amplify_core/doc" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_analytics_pinpoint" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" + - dependency-name: "amplify_authenticator" - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - dependency-name: "aws_signature_v4" + - dependency-name: "amplify_db_common" - dependency-name: "amplify_db_common_dart" + - dependency-name: "amplify_push_notifications" + - dependency-name: "amplify_push_notifications_pinpoint" + - dependency-name: "amplify_secure_storage" - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - dependency-name: "smithy" - dependency-name: "smithy_aws" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_api" - - dependency-name: "amplify_api_dart" - - dependency-name: "amplify_flutter" - - dependency-name: "amplify_auth_cognito" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "smithy_codegen" - - dependency-name: "amplify_datastore" - - dependency-name: "amplify_datastore_plugin_interface" - dependency-name: "amplify_storage_s3" - dependency-name: "amplify_storage_s3_dart" - - package-ecosystem: "pub" - directory: "packages/amplify_datastore" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_datastore_plugin_interface" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "gradle" - directory: "packages/amplify_datastore/android" - schedule: - interval: "weekly" - ignore: - # Ignore Kotlin updates since we should always match Flutter stable - # to ensure users can have Kt versions >= Flutter stable. - - dependency-name: "kotlin_version" - - dependency-name: "org.jetbrains.kotlin:kotlin-gradle-plugin" - - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - package-ecosystem: "pub" - directory: "packages/amplify_datastore/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_api" - - dependency-name: "amplify_api_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_flutter" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_secure_storage_dart" - dependency-name: "worker_bee" - dependency-name: "worker_bee_builder" - - dependency-name: "amplify_datastore" - - dependency-name: "amplify_datastore_plugin_interface" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "smithy_codegen" - - package-ecosystem: "pub" - directory: "packages/amplify_datastore_plugin_interface" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/amplify_lints" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - package-ecosystem: "pub" - directory: "packages/amplify_native_legacy_wrapper" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_lints" - - package-ecosystem: "gradle" - directory: "packages/amplify_native_legacy_wrapper/android" - schedule: - interval: "weekly" - ignore: - # Ignore Kotlin updates since we should always match Flutter stable - # to ensure users can have Kt versions >= Flutter stable. - - dependency-name: "kotlin_version" - - dependency-name: "org.jetbrains.kotlin:kotlin-gradle-plugin" - - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - package-ecosystem: "pub" - directory: "packages/amplify_native_legacy_wrapper/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_native_legacy_wrapper" - - dependency-name: "amplify_lints" - - dependency-name: "aws_common" - - package-ecosystem: "pub" - directory: "packages/analytics/amplify_analytics_pinpoint" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_secure_storage" - - package-ecosystem: "gradle" - directory: "packages/analytics/amplify_analytics_pinpoint/android" - schedule: - interval: "weekly" - ignore: - # Ignore Kotlin updates since we should always match Flutter stable - # to ensure users can have Kt versions >= Flutter stable. - - dependency-name: "kotlin_version" - - dependency-name: "org.jetbrains.kotlin:kotlin-gradle-plugin" - - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - package-ecosystem: "pub" - directory: "packages/analytics/amplify_analytics_pinpoint/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_analytics_pinpoint" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_api" - - dependency-name: "amplify_api_dart" - - dependency-name: "amplify_flutter" - - dependency-name: "amplify_auth_cognito" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "smithy_codegen" - - package-ecosystem: "pub" - directory: "packages/analytics/amplify_analytics_pinpoint_dart" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - package-ecosystem: "pub" - directory: "packages/api/amplify_api" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_api_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_flutter" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - package-ecosystem: "pub" - directory: "packages/api/amplify_api/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_api" - - dependency-name: "amplify_api_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_flutter" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "amplify_auth_cognito" - - dependency-name: "amplify_analytics_pinpoint" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "smithy_codegen" - - dependency-name: "amplify_authenticator" - - package-ecosystem: "pub" - directory: "packages/api/amplify_api_dart" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/auth/amplify_auth_cognito" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_analytics_pinpoint" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "smithy_codegen" - - dependency-name: "amplify_flutter" - - package-ecosystem: "gradle" - directory: "packages/auth/amplify_auth_cognito/android" - schedule: - interval: "weekly" - ignore: - # Ignore Kotlin updates since we should always match Flutter stable - # to ensure users can have Kt versions >= Flutter stable. - - dependency-name: "kotlin_version" - - dependency-name: "org.jetbrains.kotlin:kotlin-gradle-plugin" - - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - package-ecosystem: "pub" - directory: "packages/auth/amplify_auth_cognito/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_api" - - dependency-name: "amplify_api_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_flutter" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "amplify_auth_cognito" - - dependency-name: "amplify_analytics_pinpoint" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "smithy_codegen" - - dependency-name: "amplify_authenticator" - - dependency-name: "amplify_native_legacy_wrapper" - - package-ecosystem: "pub" - directory: "packages/auth/amplify_auth_cognito_dart" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "smithy_codegen" - - package-ecosystem: "pub" - directory: "packages/auth/amplify_auth_cognito_dart/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "smithy_codegen" - - dependency-name: "example_common" - - dependency-name: "amplify_api_dart" - - package-ecosystem: "pub" - directory: "packages/auth/amplify_auth_cognito_test" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "smithy_codegen" - - package-ecosystem: "pub" - directory: "packages/authenticator/amplify_authenticator" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_auth_cognito" - - dependency-name: "amplify_analytics_pinpoint" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "smithy_codegen" - - dependency-name: "amplify_flutter" - - package-ecosystem: "pub" - directory: "packages/authenticator/amplify_authenticator/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_auth_cognito" - - dependency-name: "amplify_analytics_pinpoint" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "smithy_codegen" - - dependency-name: "amplify_flutter" - - dependency-name: "amplify_authenticator" - - dependency-name: "amplify_api" - - dependency-name: "amplify_api_dart" - - package-ecosystem: "pub" - directory: "packages/authenticator/amplify_authenticator_test" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_authenticator" - - dependency-name: "amplify_auth_cognito" - - dependency-name: "amplify_analytics_pinpoint" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "smithy_codegen" - - dependency-name: "amplify_flutter" - - package-ecosystem: "pub" - directory: "packages/aws_common" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_lints" - - package-ecosystem: "pub" - directory: "packages/aws_sdk/smoke_test" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - package-ecosystem: "pub" - directory: "packages/aws_signature_v4" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - package-ecosystem: "pub" - directory: "packages/aws_signature_v4/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/common/amplify_db_common" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "gradle" - directory: "packages/common/amplify_db_common/android" - schedule: - interval: "weekly" - ignore: - # Ignore Kotlin updates since we should always match Flutter stable - # to ensure users can have Kt versions >= Flutter stable. - - dependency-name: "kotlin_version" - - dependency-name: "org.jetbrains.kotlin:kotlin-gradle-plugin" - - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - package-ecosystem: "pub" - directory: "packages/common/amplify_db_common/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/common/amplify_db_common_dart" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/common/amplify_db_common_dart/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "example_common" - - package-ecosystem: "pub" - directory: "packages/example_common" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_lints" - - package-ecosystem: "pub" - directory: "packages/example_common/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "example_common" - - dependency-name: "amplify_lints" - - package-ecosystem: "pub" - directory: "packages/notifications/push/amplify_push_notifications" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - package-ecosystem: "gradle" - directory: "packages/notifications/push/amplify_push_notifications/android" - schedule: - interval: "weekly" - ignore: - # Ignore Kotlin updates since we should always match Flutter stable - # to ensure users can have Kt versions >= Flutter stable. - - dependency-name: "kotlin_version" - - dependency-name: "org.jetbrains.kotlin:kotlin-gradle-plugin" - - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - package-ecosystem: "pub" - directory: "packages/notifications/push/amplify_push_notifications/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_push_notifications" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - package-ecosystem: "pub" - directory: "packages/notifications/push/amplify_push_notifications_pinpoint" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_analytics_pinpoint" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_auth_cognito" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "smithy_codegen" - - dependency-name: "amplify_flutter" - - dependency-name: "amplify_push_notifications" - - package-ecosystem: "pub" - directory: "packages/notifications/push/amplify_push_notifications_pinpoint/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_auth_cognito" - - dependency-name: "amplify_analytics_pinpoint" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "smithy_codegen" - - dependency-name: "amplify_flutter" - - dependency-name: "amplify_push_notifications_pinpoint" - - dependency-name: "amplify_push_notifications" - - package-ecosystem: "pub" - directory: "packages/secure_storage/amplify_secure_storage" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - package-ecosystem: "gradle" - directory: "packages/secure_storage/amplify_secure_storage/android" - schedule: - interval: "weekly" - ignore: - # Ignore Kotlin updates since we should always match Flutter stable - # to ensure users can have Kt versions >= Flutter stable. - - dependency-name: "kotlin_version" - - dependency-name: "org.jetbrains.kotlin:kotlin-gradle-plugin" - - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - package-ecosystem: "pub" - directory: "packages/secure_storage/amplify_secure_storage/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - package-ecosystem: "pub" - directory: "packages/secure_storage/amplify_secure_storage_dart" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - package-ecosystem: "pub" - directory: "packages/secure_storage/amplify_secure_storage_dart/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "example_common" - - package-ecosystem: "pub" - directory: "packages/secure_storage/amplify_secure_storage_test" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - package-ecosystem: "pub" - directory: "packages/smithy/goldens" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "smithy" - - dependency-name: "smithy_codegen" - - dependency-name: "aws_signature_v4" - - dependency-name: "smithy_aws" - - package-ecosystem: "pub" - directory: "packages/smithy/goldens/lib/awsJson1_0" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "smithy" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "smithy_aws" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/smithy/goldens/lib/awsJson1_1" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "smithy" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "smithy_aws" - - package-ecosystem: "pub" - directory: "packages/smithy/goldens/lib/awsQuery" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "smithy" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "smithy_aws" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/smithy/goldens/lib/ec2Query" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "smithy" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "smithy_aws" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/smithy/goldens/lib/restJson1" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "smithy" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "smithy_aws" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/smithy/goldens/lib/restXml" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "smithy" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "smithy_aws" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/smithy/goldens/lib/restXmlWithNamespace" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "smithy" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "smithy_aws" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/smithy/goldens/lib2/awsJson1_0" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "smithy" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "smithy_aws" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/smithy/goldens/lib2/awsJson1_1" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "smithy" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "smithy_aws" - - package-ecosystem: "pub" - directory: "packages/smithy/goldens/lib2/awsQuery" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "smithy" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "smithy_aws" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/smithy/goldens/lib2/custom" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "smithy" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "smithy_aws" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/smithy/goldens/lib2/ec2Query" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "smithy" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "smithy_aws" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/smithy/goldens/lib2/restJson1" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "smithy" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "smithy_aws" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/smithy/goldens/lib2/restXml" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "smithy" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "smithy_aws" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/smithy/goldens/lib2/restXmlWithNamespace" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "smithy" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "smithy_aws" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/smithy/smithy" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - package-ecosystem: "pub" - directory: "packages/smithy/smithy_aws" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "smithy" - - package-ecosystem: "pub" - directory: "packages/smithy/smithy_codegen" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - package-ecosystem: "pub" - directory: "packages/smithy/smithy_test" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "smithy" - - package-ecosystem: "pub" - directory: "packages/storage/amplify_storage_s3" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_storage_s3_dart" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - package-ecosystem: "pub" - directory: "packages/storage/amplify_storage_s3/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_auth_cognito" - - dependency-name: "amplify_analytics_pinpoint" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "smithy_codegen" - - dependency-name: "amplify_flutter" - - dependency-name: "amplify_authenticator" - - dependency-name: "amplify_storage_s3" - - dependency-name: "amplify_storage_s3_dart" - - package-ecosystem: "pub" - directory: "packages/storage/amplify_storage_s3_dart" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - package-ecosystem: "pub" - directory: "packages/storage/amplify_storage_s3_dart/example" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "smithy_codegen" - - dependency-name: "amplify_storage_s3_dart" - - dependency-name: "example_common" - - package-ecosystem: "pub" - directory: "packages/test/amplify_auth_integration_test" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_api" - - dependency-name: "amplify_api_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_flutter" - - dependency-name: "amplify_secure_storage" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "amplify_auth_cognito" - - dependency-name: "amplify_analytics_pinpoint" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "amplify_db_common" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "smithy_codegen" - - package-ecosystem: "pub" - directory: "packages/test/amplify_integration_test" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_auth_cognito_dart" - - dependency-name: "amplify_analytics_pinpoint_dart" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - dependency-name: "amplify_db_common_dart" - - dependency-name: "amplify_secure_storage_dart" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - dependency-name: "smithy" - - dependency-name: "smithy_aws" - - dependency-name: "smithy_codegen" - - package-ecosystem: "pub" - directory: "packages/test/amplify_test" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_core" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "aws_signature_v4" - - package-ecosystem: "pub" - directory: "packages/test/pub_server" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - package-ecosystem: "pub" - directory: "packages/worker_bee/e2e" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - package-ecosystem: "pub" - directory: "packages/worker_bee/e2e_flutter_test" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - package-ecosystem: "pub" - directory: "packages/worker_bee/e2e_test" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "amplify_lints" - - dependency-name: "aws_common" - - dependency-name: "worker_bee" - - dependency-name: "worker_bee_builder" - - package-ecosystem: "pub" - directory: "packages/worker_bee/worker_bee" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - package-ecosystem: "pub" - directory: "packages/worker_bee/worker_bee_builder" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - dependency-name: "worker_bee" - - dependency-name: "aws_common" - - dependency-name: "amplify_lints" - - package-ecosystem: "pub" - directory: "templates/dart-package/hooks" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" - - package-ecosystem: "pub" - directory: "templates/flutter-package/hooks" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" + + # Group dependencies which have a constraint set in the global + # "pubspec.yaml" + group: + async: + patterns: + - "async" + build_runner: + patterns: + - "build_runner" + build_web_compilers: + patterns: + - "build_web_compilers" + built_value: + patterns: + - "built_value" + built_value_generator: + patterns: + - "built_value_generator" + code_builder: + patterns: + - "code_builder" + connectivity_plus: + patterns: + - "connectivity_plus" + dart_style: + patterns: + - "dart_style" + device_info_plus: + patterns: + - "device_info_plus" + drift: + patterns: + - "drift" + ffigen: + patterns: + - "ffigen" + file: + patterns: + - "file" + flutter_plugin_android_lifecycle: + patterns: + - "flutter_plugin_android_lifecycle" + graphs: + patterns: + - "graphs" + http: + patterns: + - "http" + intl: + patterns: + - "intl" + json_annotation: + patterns: + - "json_annotation" + json_serializable: + patterns: + - "json_serializable" + mime: + patterns: + - "mime" + oauth2: + patterns: + - "oauth2" + package_info_plus: + patterns: + - "package_info_plus" + pigeon: + patterns: + - "pigeon" + sqlite3: + patterns: + - "sqlite3" + source_gen: + patterns: + - "source_gen" + stack_trace: + patterns: + - "stack_trace" + uuid: + patterns: + - "uuid" + win32: + patterns: + - "win32" + xml: + patterns: + - "xml" + test: + patterns: + - "test" diff --git a/packages/aft/lib/src/commands/generate/generate_workflows_command.dart b/packages/aft/lib/src/commands/generate/generate_workflows_command.dart index 1ad1484b2cf..bb59487011a 100644 --- a/packages/aft/lib/src/commands/generate/generate_workflows_command.dart +++ b/packages/aft/lib/src/commands/generate/generate_workflows_command.dart @@ -26,7 +26,22 @@ class GenerateWorkflowsCommand extends AmplifyCommand { late final bool setExitIfChanged = argResults!['set-exit-if-changed'] as bool; - final _dependabotConfig = StringBuffer(''' + String get _dependabotConfig { + final ignorePubPackages = repo.allPackages.values + .where((pkg) => pkg.isPublishable) + .map((pkg) => pkg.name) + .map((pkg) => ' - dependency-name: "$pkg"') + .join('\n'); + final groupPubPackages = repo.aftConfig.dependencies.keys + .map( + (pkg) => ''' + $pkg: + patterns: + - "$pkg"''', + ) + .join('\n'); + + return ''' # Generated with aft. To update, run: `aft generate workflows` version: 2 enable-beta-ecosystems: true @@ -35,11 +50,61 @@ updates: directory: "/" schedule: interval: "weekly" + # The `github-actions` ecosystem only searches + # `.github/workflows` by default. - package-ecosystem: "github-actions" directory: ".github/composite_actions" schedule: interval: "weekly" -'''); + + - package-ecosystem: "npm" + directory: "infra" + schedule: + interval: "weekly" + ignore: + # Ignore patch version bumps + - dependency-name: "*" + update-types: + - "version-update:semver-patch" + + - package-ecosystem: "gradle" + directory: "/" + schedule: + interval: "weekly" + ignore: + # Ignore Kotlin updates since we should always match Flutter stable + # to ensure users can have Kt versions >= Flutter stable. + - dependency-name: "kotlin_version" + - dependency-name: "org.jetbrains.kotlin:kotlin-gradle-plugin" + + # Ignore patch version bumps + - dependency-name: "*" + update-types: + - "version-update:semver-patch" + groups: + amplify-android: + patterns: + - "com.amplifyframework:*" + - "com.amazonaws:*" + mockito: + patterns: + - "org.mockito:*" + + - package-ecosystem: "pub" + directory: "/" + schedule: + interval: "daily" + + # Ignore all repo packages + ignore: +$ignorePubPackages + + # Group dependencies which have a constraint set in the global + # "pubspec.yaml" + group: +$groupPubPackages +'''; + } @override Future run() async { @@ -57,23 +122,6 @@ updates: dependentPackages.add(dependent); }, ); - _dependabotConfig.write(''' - - package-ecosystem: "pub" - directory: "$repoRelativePath" - schedule: - interval: "daily" - ignore: - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" -'''); - if (dependentPackages.isNotEmpty) { - _dependabotConfig.write(''' -${dependentPackages.map((dep) => ' - dependency-name: "${dep.name}"').join('\n')} -'''); - } - if (package.pubspecInfo.pubspec.publishTo == 'none' && !falsePositiveExamples.contains(package.name)) { continue; @@ -89,7 +137,7 @@ ${dependentPackages.map((dep) => ' - dependency-name: "${dep.name}"').join( final dependabotFile = File( p.join(rootDir.path, '.github', 'dependabot.yaml'), ); - writeWorkflowFile(dependabotFile, _dependabotConfig.toString()); + writeWorkflowFile(dependabotFile, _dependabotConfig); // Check if workflow generation caused `git diff` to change. if (setExitIfChanged) { @@ -344,23 +392,6 @@ jobs: return; } - _dependabotConfig.write(''' - - package-ecosystem: "gradle" - directory: "${p.relative(androidPath, from: rootDir.path)}" - schedule: - interval: "weekly" - ignore: - # Ignore Kotlin updates since we should always match Flutter stable - # to ensure users can have Kt versions >= Flutter stable. - - dependency-name: "kotlin_version" - - dependency-name: "org.jetbrains.kotlin:kotlin-gradle-plugin" - - # Ignore patch version bumps - - dependency-name: "*" - update-types: - - "version-update:semver-patch" -'''); - final androidTestDir = Directory( p.join(androidDir.path, 'src', 'test'), );