From cbe4c7d97032fb183e71b65e313ca2e683ab45bc Mon Sep 17 00:00:00 2001 From: Dustin Noyes Date: Mon, 2 Oct 2023 12:49:50 -0700 Subject: [PATCH 1/2] chore(repo): Dials scheduled GH Actions to 1x/day --- .../workflows/amplify_analytics_pinpoint.yaml | 2 +- .../amplify_analytics_pinpoint_dart.yaml | 2 +- .../amplify_analytics_pinpoint_example.yaml | 2 +- .github/workflows/amplify_api.yaml | 2 +- .github/workflows/amplify_api_dart.yaml | 2 +- .github/workflows/amplify_api_example.yaml | 2 +- .github/workflows/amplify_auth_cognito.yaml | 2 +- .../workflows/amplify_auth_cognito_dart.yaml | 2 +- .../amplify_auth_cognito_example.yaml | 2 +- .../workflows/amplify_auth_cognito_test.yaml | 2 +- .github/workflows/amplify_authenticator.yaml | 2 +- .../amplify_authenticator_example.yaml | 2 +- .github/workflows/amplify_core.yaml | 2 +- .github/workflows/amplify_datastore.yaml | 2 +- .../workflows/amplify_datastore_example.yaml | 2 +- .../amplify_datastore_plugin_interface.yaml | 2 +- .github/workflows/amplify_db_common.yaml | 2 +- .github/workflows/amplify_db_common_dart.yaml | 2 +- .../workflows/amplify_db_common_example.yaml | 2 +- .github/workflows/amplify_flutter.yaml | 2 +- .../workflows/amplify_flutter_example.yaml | 2 +- .github/workflows/amplify_lints.yaml | 2 +- .../amplify_native_legacy_wrapper.yaml | 2 +- ...amplify_native_legacy_wrapper_example.yaml | 2 +- .../workflows/amplify_push_notifications.yaml | 2 +- .../amplify_push_notifications_example.yaml | 2 +- .../amplify_push_notifications_pinpoint.yaml | 2 +- ...y_push_notifications_pinpoint_example.yaml | 2 +- .github/workflows/amplify_secure_storage.yaml | 2 +- .../amplify_secure_storage_dart.yaml | 2 +- .../amplify_secure_storage_example.yaml | 2 +- .../amplify_secure_storage_test.yaml | 2 +- .github/workflows/amplify_storage_s3.yaml | 2 +- .../workflows/amplify_storage_s3_dart.yaml | 2 +- .../workflows/amplify_storage_s3_example.yaml | 2 +- .github/workflows/aws_common.yaml | 2 +- .github/workflows/aws_json1_0_v1.yaml | 2 +- .github/workflows/aws_json1_0_v2.yaml | 2 +- .github/workflows/aws_json1_1_v1.yaml | 2 +- .github/workflows/aws_json1_1_v2.yaml | 2 +- .github/workflows/aws_query_v1.yaml | 2 +- .github/workflows/aws_query_v2.yaml | 2 +- .github/workflows/aws_signature_v4.yaml | 2 +- .github/workflows/cognito_example.yaml | 2 +- .github/workflows/custom_v2.yaml | 2 +- .github/workflows/ec2_query_v1.yaml | 2 +- .github/workflows/ec2_query_v2.yaml | 2 +- .github/workflows/libgit2dart.yaml | 50 +++++++++++++++++++ .github/workflows/pub_server.yaml | 2 +- .github/workflows/rest_json1_v1.yaml | 2 +- .github/workflows/rest_json1_v2.yaml | 2 +- .github/workflows/rest_xml_v1.yaml | 2 +- .github/workflows/rest_xml_v2.yaml | 2 +- .../workflows/rest_xml_with_namespace_v1.yaml | 2 +- .../workflows/rest_xml_with_namespace_v2.yaml | 2 +- .github/workflows/smithy.yaml | 2 +- .github/workflows/smithy_aws.yaml | 2 +- .github/workflows/smithy_codegen.yaml | 2 +- .github/workflows/storage_s3_example.yaml | 2 +- .github/workflows/worker_bee.yaml | 2 +- .github/workflows/worker_bee_builder.yaml | 2 +- .../generate/generate_workflows_command.dart | 2 +- 62 files changed, 111 insertions(+), 61 deletions(-) create mode 100644 .github/workflows/libgit2dart.yaml diff --git a/.github/workflows/amplify_analytics_pinpoint.yaml b/.github/workflows/amplify_analytics_pinpoint.yaml index b622f4e603..b3c1aef7ec 100644 --- a/.github/workflows/amplify_analytics_pinpoint.yaml +++ b/.github/workflows/amplify_analytics_pinpoint.yaml @@ -73,7 +73,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_analytics_pinpoint_dart.yaml b/.github/workflows/amplify_analytics_pinpoint_dart.yaml index 3480ce5574..3a644a648b 100644 --- a/.github/workflows/amplify_analytics_pinpoint_dart.yaml +++ b/.github/workflows/amplify_analytics_pinpoint_dart.yaml @@ -69,7 +69,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_analytics_pinpoint_example.yaml b/.github/workflows/amplify_analytics_pinpoint_example.yaml index 8a98928a06..f0070f1bfd 100644 --- a/.github/workflows/amplify_analytics_pinpoint_example.yaml +++ b/.github/workflows/amplify_analytics_pinpoint_example.yaml @@ -111,7 +111,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_api.yaml b/.github/workflows/amplify_api.yaml index 1286b352f8..ed47b10cfc 100644 --- a/.github/workflows/amplify_api.yaml +++ b/.github/workflows/amplify_api.yaml @@ -61,7 +61,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_api_dart.yaml b/.github/workflows/amplify_api_dart.yaml index 9b9d7f3058..0f5a13d30e 100644 --- a/.github/workflows/amplify_api_dart.yaml +++ b/.github/workflows/amplify_api_dart.yaml @@ -45,7 +45,7 @@ on: - 'packages/aws_signature_v4/lib/**/*.dart' - 'packages/aws_signature_v4/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_api_example.yaml b/.github/workflows/amplify_api_example.yaml index 98f8a93577..15d2663e1b 100644 --- a/.github/workflows/amplify_api_example.yaml +++ b/.github/workflows/amplify_api_example.yaml @@ -115,7 +115,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_auth_cognito.yaml b/.github/workflows/amplify_auth_cognito.yaml index acdf88bf80..666ede7964 100644 --- a/.github/workflows/amplify_auth_cognito.yaml +++ b/.github/workflows/amplify_auth_cognito.yaml @@ -89,7 +89,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_auth_cognito_dart.yaml b/.github/workflows/amplify_auth_cognito_dart.yaml index 89137d9c9a..c641d2269e 100644 --- a/.github/workflows/amplify_auth_cognito_dart.yaml +++ b/.github/workflows/amplify_auth_cognito_dart.yaml @@ -71,7 +71,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_auth_cognito_example.yaml b/.github/workflows/amplify_auth_cognito_example.yaml index c35e676dcb..3ff0bb6f9e 100644 --- a/.github/workflows/amplify_auth_cognito_example.yaml +++ b/.github/workflows/amplify_auth_cognito_example.yaml @@ -119,7 +119,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_auth_cognito_test.yaml b/.github/workflows/amplify_auth_cognito_test.yaml index 3fec4e570a..c79c419f3b 100644 --- a/.github/workflows/amplify_auth_cognito_test.yaml +++ b/.github/workflows/amplify_auth_cognito_test.yaml @@ -81,7 +81,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_authenticator.yaml b/.github/workflows/amplify_authenticator.yaml index d57bd89ca1..c3008a41ce 100644 --- a/.github/workflows/amplify_authenticator.yaml +++ b/.github/workflows/amplify_authenticator.yaml @@ -93,7 +93,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_authenticator_example.yaml b/.github/workflows/amplify_authenticator_example.yaml index 46783e1895..fb4cee9b5d 100644 --- a/.github/workflows/amplify_authenticator_example.yaml +++ b/.github/workflows/amplify_authenticator_example.yaml @@ -115,7 +115,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_core.yaml b/.github/workflows/amplify_core.yaml index a8e4f66dca..9a0dc15fc5 100644 --- a/.github/workflows/amplify_core.yaml +++ b/.github/workflows/amplify_core.yaml @@ -41,7 +41,7 @@ on: - 'packages/aws_signature_v4/lib/**/*.dart' - 'packages/aws_signature_v4/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_datastore.yaml b/.github/workflows/amplify_datastore.yaml index 758714bf7d..02af30aa51 100644 --- a/.github/workflows/amplify_datastore.yaml +++ b/.github/workflows/amplify_datastore.yaml @@ -41,7 +41,7 @@ on: - 'packages/aws_signature_v4/lib/**/*.dart' - 'packages/aws_signature_v4/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_datastore_example.yaml b/.github/workflows/amplify_datastore_example.yaml index 602eb3367b..76edfeeaa0 100644 --- a/.github/workflows/amplify_datastore_example.yaml +++ b/.github/workflows/amplify_datastore_example.yaml @@ -101,7 +101,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_datastore_plugin_interface.yaml b/.github/workflows/amplify_datastore_plugin_interface.yaml index 0457111913..f0a7229304 100644 --- a/.github/workflows/amplify_datastore_plugin_interface.yaml +++ b/.github/workflows/amplify_datastore_plugin_interface.yaml @@ -37,7 +37,7 @@ on: - 'packages/aws_signature_v4/lib/**/*.dart' - 'packages/aws_signature_v4/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_db_common.yaml b/.github/workflows/amplify_db_common.yaml index f741c9d692..373c7b38b0 100644 --- a/.github/workflows/amplify_db_common.yaml +++ b/.github/workflows/amplify_db_common.yaml @@ -41,7 +41,7 @@ on: - 'packages/common/amplify_db_common_dart/lib/**/*.dart' - 'packages/common/amplify_db_common_dart/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_db_common_dart.yaml b/.github/workflows/amplify_db_common_dart.yaml index 981de0c27c..d0d0d8d343 100644 --- a/.github/workflows/amplify_db_common_dart.yaml +++ b/.github/workflows/amplify_db_common_dart.yaml @@ -45,7 +45,7 @@ on: - 'packages/common/amplify_db_common_dart/lib/**/*' - 'packages/common/amplify_db_common_dart/test/**/*' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_db_common_example.yaml b/.github/workflows/amplify_db_common_example.yaml index 6e5c7ae4d7..7162a24393 100644 --- a/.github/workflows/amplify_db_common_example.yaml +++ b/.github/workflows/amplify_db_common_example.yaml @@ -55,7 +55,7 @@ on: - 'packages/common/amplify_db_common_dart/lib/**/*.dart' - 'packages/common/amplify_db_common_dart/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_flutter.yaml b/.github/workflows/amplify_flutter.yaml index 3d30221144..a942537f42 100644 --- a/.github/workflows/amplify_flutter.yaml +++ b/.github/workflows/amplify_flutter.yaml @@ -53,7 +53,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_flutter_example.yaml b/.github/workflows/amplify_flutter_example.yaml index bd8e02fd9f..79827a1e60 100644 --- a/.github/workflows/amplify_flutter_example.yaml +++ b/.github/workflows/amplify_flutter_example.yaml @@ -117,7 +117,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_lints.yaml b/.github/workflows/amplify_lints.yaml index d5cb9eeda0..78ca318f25 100644 --- a/.github/workflows/amplify_lints.yaml +++ b/.github/workflows/amplify_lints.yaml @@ -21,7 +21,7 @@ on: - 'packages/amplify_lints/lib/**/*' - 'packages/amplify_lints/test/**/*' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_native_legacy_wrapper.yaml b/.github/workflows/amplify_native_legacy_wrapper.yaml index ccf397ddc6..372ac33905 100644 --- a/.github/workflows/amplify_native_legacy_wrapper.yaml +++ b/.github/workflows/amplify_native_legacy_wrapper.yaml @@ -25,7 +25,7 @@ on: - 'packages/amplify_native_legacy_wrapper/lib/**/*' - 'packages/amplify_native_legacy_wrapper/test/**/*' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_native_legacy_wrapper_example.yaml b/.github/workflows/amplify_native_legacy_wrapper_example.yaml index 37336c1463..e673ec98db 100644 --- a/.github/workflows/amplify_native_legacy_wrapper_example.yaml +++ b/.github/workflows/amplify_native_legacy_wrapper_example.yaml @@ -33,7 +33,7 @@ on: - 'packages/aws_common/lib/**/*.dart' - 'packages/aws_common/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_push_notifications.yaml b/.github/workflows/amplify_push_notifications.yaml index 3fce067796..29b6bc1e5c 100644 --- a/.github/workflows/amplify_push_notifications.yaml +++ b/.github/workflows/amplify_push_notifications.yaml @@ -59,7 +59,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_push_notifications_example.yaml b/.github/workflows/amplify_push_notifications_example.yaml index 2e58e45083..db1e7b25e6 100644 --- a/.github/workflows/amplify_push_notifications_example.yaml +++ b/.github/workflows/amplify_push_notifications_example.yaml @@ -57,7 +57,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_push_notifications_pinpoint.yaml b/.github/workflows/amplify_push_notifications_pinpoint.yaml index ef4fdb7d75..ed20a05af1 100644 --- a/.github/workflows/amplify_push_notifications_pinpoint.yaml +++ b/.github/workflows/amplify_push_notifications_pinpoint.yaml @@ -97,7 +97,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_push_notifications_pinpoint_example.yaml b/.github/workflows/amplify_push_notifications_pinpoint_example.yaml index fec8b7aee8..40e11557c2 100644 --- a/.github/workflows/amplify_push_notifications_pinpoint_example.yaml +++ b/.github/workflows/amplify_push_notifications_pinpoint_example.yaml @@ -101,7 +101,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_secure_storage.yaml b/.github/workflows/amplify_secure_storage.yaml index 9908578481..35da578d8b 100644 --- a/.github/workflows/amplify_secure_storage.yaml +++ b/.github/workflows/amplify_secure_storage.yaml @@ -41,7 +41,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_secure_storage_dart.yaml b/.github/workflows/amplify_secure_storage_dart.yaml index 90ade9795e..dc18cc6267 100644 --- a/.github/workflows/amplify_secure_storage_dart.yaml +++ b/.github/workflows/amplify_secure_storage_dart.yaml @@ -37,7 +37,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_secure_storage_example.yaml b/.github/workflows/amplify_secure_storage_example.yaml index a044f957fd..299f8e864c 100644 --- a/.github/workflows/amplify_secure_storage_example.yaml +++ b/.github/workflows/amplify_secure_storage_example.yaml @@ -55,7 +55,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_secure_storage_test.yaml b/.github/workflows/amplify_secure_storage_test.yaml index dc2ec5b64e..d3ef9901dc 100644 --- a/.github/workflows/amplify_secure_storage_test.yaml +++ b/.github/workflows/amplify_secure_storage_test.yaml @@ -49,7 +49,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_storage_s3.yaml b/.github/workflows/amplify_storage_s3.yaml index 055c4f86a1..b20605dcd7 100644 --- a/.github/workflows/amplify_storage_s3.yaml +++ b/.github/workflows/amplify_storage_s3.yaml @@ -57,7 +57,7 @@ on: - 'packages/storage/amplify_storage_s3_dart/lib/**/*.dart' - 'packages/storage/amplify_storage_s3_dart/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_storage_s3_dart.yaml b/.github/workflows/amplify_storage_s3_dart.yaml index 4123b19f92..9a1bcfefa9 100644 --- a/.github/workflows/amplify_storage_s3_dart.yaml +++ b/.github/workflows/amplify_storage_s3_dart.yaml @@ -51,7 +51,7 @@ on: - 'packages/storage/amplify_storage_s3_dart/lib/**/*' - 'packages/storage/amplify_storage_s3_dart/test/**/*' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/amplify_storage_s3_example.yaml b/.github/workflows/amplify_storage_s3_example.yaml index fe5ebf467a..7738b0a4cf 100644 --- a/.github/workflows/amplify_storage_s3_example.yaml +++ b/.github/workflows/amplify_storage_s3_example.yaml @@ -115,7 +115,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/aws_common.yaml b/.github/workflows/aws_common.yaml index 18f9138415..fcce3c5175 100644 --- a/.github/workflows/aws_common.yaml +++ b/.github/workflows/aws_common.yaml @@ -33,7 +33,7 @@ on: - 'packages/aws_common/lib/**/*' - 'packages/aws_common/test/**/*' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/aws_json1_0_v1.yaml b/.github/workflows/aws_json1_0_v1.yaml index f5d5778c5c..6575686ba8 100644 --- a/.github/workflows/aws_json1_0_v1.yaml +++ b/.github/workflows/aws_json1_0_v1.yaml @@ -49,7 +49,7 @@ on: - 'packages/smithy/smithy_aws/lib/**/*.dart' - 'packages/smithy/smithy_aws/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/aws_json1_0_v2.yaml b/.github/workflows/aws_json1_0_v2.yaml index 5e06fd6429..a73c17c4fb 100644 --- a/.github/workflows/aws_json1_0_v2.yaml +++ b/.github/workflows/aws_json1_0_v2.yaml @@ -49,7 +49,7 @@ on: - 'packages/smithy/smithy_aws/lib/**/*.dart' - 'packages/smithy/smithy_aws/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/aws_json1_1_v1.yaml b/.github/workflows/aws_json1_1_v1.yaml index 590bd1e8a2..e5cd5b2c89 100644 --- a/.github/workflows/aws_json1_1_v1.yaml +++ b/.github/workflows/aws_json1_1_v1.yaml @@ -49,7 +49,7 @@ on: - 'packages/smithy/smithy_aws/lib/**/*.dart' - 'packages/smithy/smithy_aws/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/aws_json1_1_v2.yaml b/.github/workflows/aws_json1_1_v2.yaml index 0f086e2201..388a7ab5df 100644 --- a/.github/workflows/aws_json1_1_v2.yaml +++ b/.github/workflows/aws_json1_1_v2.yaml @@ -49,7 +49,7 @@ on: - 'packages/smithy/smithy_aws/lib/**/*.dart' - 'packages/smithy/smithy_aws/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/aws_query_v1.yaml b/.github/workflows/aws_query_v1.yaml index bc14d9e187..c96ba785a2 100644 --- a/.github/workflows/aws_query_v1.yaml +++ b/.github/workflows/aws_query_v1.yaml @@ -49,7 +49,7 @@ on: - 'packages/smithy/smithy_aws/lib/**/*.dart' - 'packages/smithy/smithy_aws/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/aws_query_v2.yaml b/.github/workflows/aws_query_v2.yaml index b1f7089069..b3cfbd4722 100644 --- a/.github/workflows/aws_query_v2.yaml +++ b/.github/workflows/aws_query_v2.yaml @@ -49,7 +49,7 @@ on: - 'packages/smithy/smithy_aws/lib/**/*.dart' - 'packages/smithy/smithy_aws/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/aws_signature_v4.yaml b/.github/workflows/aws_signature_v4.yaml index 5f1cdade78..290cef4ae0 100644 --- a/.github/workflows/aws_signature_v4.yaml +++ b/.github/workflows/aws_signature_v4.yaml @@ -37,7 +37,7 @@ on: - 'packages/aws_signature_v4/lib/**/*' - 'packages/aws_signature_v4/test/**/*' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/cognito_example.yaml b/.github/workflows/cognito_example.yaml index 29cf98df7a..36e0632299 100644 --- a/.github/workflows/cognito_example.yaml +++ b/.github/workflows/cognito_example.yaml @@ -81,7 +81,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/custom_v2.yaml b/.github/workflows/custom_v2.yaml index 36bc87f3a8..ca3d5ff296 100644 --- a/.github/workflows/custom_v2.yaml +++ b/.github/workflows/custom_v2.yaml @@ -49,7 +49,7 @@ on: - 'packages/smithy/smithy_aws/lib/**/*.dart' - 'packages/smithy/smithy_aws/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/ec2_query_v1.yaml b/.github/workflows/ec2_query_v1.yaml index 8144de3380..9a3486c190 100644 --- a/.github/workflows/ec2_query_v1.yaml +++ b/.github/workflows/ec2_query_v1.yaml @@ -49,7 +49,7 @@ on: - 'packages/smithy/smithy_aws/lib/**/*.dart' - 'packages/smithy/smithy_aws/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/ec2_query_v2.yaml b/.github/workflows/ec2_query_v2.yaml index 8eaa6d7d05..a68433cc81 100644 --- a/.github/workflows/ec2_query_v2.yaml +++ b/.github/workflows/ec2_query_v2.yaml @@ -49,7 +49,7 @@ on: - 'packages/smithy/smithy_aws/lib/**/*.dart' - 'packages/smithy/smithy_aws/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/libgit2dart.yaml b/.github/workflows/libgit2dart.yaml new file mode 100644 index 0000000000..4c178391db --- /dev/null +++ b/.github/workflows/libgit2dart.yaml @@ -0,0 +1,50 @@ +# Generated with aft. To update, run: `aft generate workflows` +name: libgit2dart +on: + push: + branches: + - main + - stable + paths: + - '.github/workflows/dart_native.yaml' + - '.github/workflows/dart_vm.yaml' + - '.github/workflows/libgit2dart.yaml' + - 'packages/aft/external/libgit2dart/**/*.dart' + - 'packages/aft/external/libgit2dart/**/*.yaml' + - 'packages/aft/external/libgit2dart/lib/**/*' + - 'packages/aft/external/libgit2dart/test/**/*' + pull_request: + paths: + - '.github/workflows/dart_native.yaml' + - '.github/workflows/dart_vm.yaml' + - '.github/workflows/libgit2dart.yaml' + - 'packages/aft/external/libgit2dart/**/*.dart' + - 'packages/aft/external/libgit2dart/**/*.yaml' + - 'packages/aft/external/libgit2dart/lib/**/*' + - 'packages/aft/external/libgit2dart/test/**/*' + schedule: + - cron: "0 6 * * *" # Every day at 06:00 +defaults: + run: + shell: bash + +permissions: read-all + +# Cancels in-progress job when there is another push to same ref. +# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + test: + uses: ./.github/workflows/dart_vm.yaml + with: + package-name: libgit2dart + working-directory: packages/aft/external/libgit2dart + native_test: + needs: test + uses: ./.github/workflows/dart_native.yaml + with: + package-name: libgit2dart + working-directory: packages/aft/external/libgit2dart diff --git a/.github/workflows/pub_server.yaml b/.github/workflows/pub_server.yaml index 4a12ac4e86..7b32a941bb 100644 --- a/.github/workflows/pub_server.yaml +++ b/.github/workflows/pub_server.yaml @@ -31,7 +31,7 @@ on: - 'packages/test/pub_server/lib/**/*' - 'packages/test/pub_server/test/**/*' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/rest_json1_v1.yaml b/.github/workflows/rest_json1_v1.yaml index 1b17646353..b54da6f5b0 100644 --- a/.github/workflows/rest_json1_v1.yaml +++ b/.github/workflows/rest_json1_v1.yaml @@ -49,7 +49,7 @@ on: - 'packages/smithy/smithy_aws/lib/**/*.dart' - 'packages/smithy/smithy_aws/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/rest_json1_v2.yaml b/.github/workflows/rest_json1_v2.yaml index 4ce851e137..081e9ec9c6 100644 --- a/.github/workflows/rest_json1_v2.yaml +++ b/.github/workflows/rest_json1_v2.yaml @@ -49,7 +49,7 @@ on: - 'packages/smithy/smithy_aws/lib/**/*.dart' - 'packages/smithy/smithy_aws/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/rest_xml_v1.yaml b/.github/workflows/rest_xml_v1.yaml index 519630f4bf..63197a76b3 100644 --- a/.github/workflows/rest_xml_v1.yaml +++ b/.github/workflows/rest_xml_v1.yaml @@ -49,7 +49,7 @@ on: - 'packages/smithy/smithy_aws/lib/**/*.dart' - 'packages/smithy/smithy_aws/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/rest_xml_v2.yaml b/.github/workflows/rest_xml_v2.yaml index e40a8a1180..b598934e6f 100644 --- a/.github/workflows/rest_xml_v2.yaml +++ b/.github/workflows/rest_xml_v2.yaml @@ -49,7 +49,7 @@ on: - 'packages/smithy/smithy_aws/lib/**/*.dart' - 'packages/smithy/smithy_aws/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/rest_xml_with_namespace_v1.yaml b/.github/workflows/rest_xml_with_namespace_v1.yaml index 34669835d0..7fa73782f4 100644 --- a/.github/workflows/rest_xml_with_namespace_v1.yaml +++ b/.github/workflows/rest_xml_with_namespace_v1.yaml @@ -49,7 +49,7 @@ on: - 'packages/smithy/smithy_aws/lib/**/*.dart' - 'packages/smithy/smithy_aws/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/rest_xml_with_namespace_v2.yaml b/.github/workflows/rest_xml_with_namespace_v2.yaml index 458b906099..a00c97b81d 100644 --- a/.github/workflows/rest_xml_with_namespace_v2.yaml +++ b/.github/workflows/rest_xml_with_namespace_v2.yaml @@ -49,7 +49,7 @@ on: - 'packages/smithy/smithy_aws/lib/**/*.dart' - 'packages/smithy/smithy_aws/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/smithy.yaml b/.github/workflows/smithy.yaml index 6c59b60bd1..bcbe479cdb 100644 --- a/.github/workflows/smithy.yaml +++ b/.github/workflows/smithy.yaml @@ -31,7 +31,7 @@ on: - 'packages/smithy/smithy/lib/**/*' - 'packages/smithy/smithy/test/**/*' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/smithy_aws.yaml b/.github/workflows/smithy_aws.yaml index 4dc69e1ab5..3e2064adf8 100644 --- a/.github/workflows/smithy_aws.yaml +++ b/.github/workflows/smithy_aws.yaml @@ -39,7 +39,7 @@ on: - 'packages/smithy/smithy_aws/lib/**/*' - 'packages/smithy/smithy_aws/test/**/*' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/smithy_codegen.yaml b/.github/workflows/smithy_codegen.yaml index e3f4658140..73ec05eb4b 100644 --- a/.github/workflows/smithy_codegen.yaml +++ b/.github/workflows/smithy_codegen.yaml @@ -43,7 +43,7 @@ on: - 'packages/smithy/smithy_codegen/lib/**/*' - 'packages/smithy/smithy_codegen/test/**/*' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/storage_s3_example.yaml b/.github/workflows/storage_s3_example.yaml index 4b4aeaeb37..988a949e09 100644 --- a/.github/workflows/storage_s3_example.yaml +++ b/.github/workflows/storage_s3_example.yaml @@ -81,7 +81,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*.dart' - 'packages/worker_bee/worker_bee_builder/pubspec.yaml' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/worker_bee.yaml b/.github/workflows/worker_bee.yaml index 9957980996..e5389d7132 100644 --- a/.github/workflows/worker_bee.yaml +++ b/.github/workflows/worker_bee.yaml @@ -29,7 +29,7 @@ on: - 'packages/worker_bee/worker_bee/lib/**/*' - 'packages/worker_bee/worker_bee/test/**/*' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash diff --git a/.github/workflows/worker_bee_builder.yaml b/.github/workflows/worker_bee_builder.yaml index dc89dc4061..7dc6d14526 100644 --- a/.github/workflows/worker_bee_builder.yaml +++ b/.github/workflows/worker_bee_builder.yaml @@ -33,7 +33,7 @@ on: - 'packages/worker_bee/worker_bee_builder/lib/**/*' - 'packages/worker_bee/worker_bee_builder/test/**/*' schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash 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 1363d5c6a6..d6eb736d28 100644 --- a/packages/aft/lib/src/commands/generate/generate_workflows_command.dart +++ b/packages/aft/lib/src/commands/generate/generate_workflows_command.dart @@ -297,7 +297,7 @@ ${workflowPaths.map((path) => " - '$path'").join('\n')} paths: ${workflowPaths.map((path) => " - '$path'").join('\n')} schedule: - - cron: "0 6,12 * * *" # Every day at 06:00 and 12:00 + - cron: "0 6 * * *" # Every day at 06:00 defaults: run: shell: bash From 747c8d9ccb646a464be0d159f3629fbbc65d8a60 Mon Sep 17 00:00:00 2001 From: Dustin Noyes Date: Mon, 2 Oct 2023 12:52:28 -0700 Subject: [PATCH 2/2] fix(github): removed extra workflow file --- .github/workflows/libgit2dart.yaml | 50 ------------------------------ 1 file changed, 50 deletions(-) delete mode 100644 .github/workflows/libgit2dart.yaml diff --git a/.github/workflows/libgit2dart.yaml b/.github/workflows/libgit2dart.yaml deleted file mode 100644 index 4c178391db..0000000000 --- a/.github/workflows/libgit2dart.yaml +++ /dev/null @@ -1,50 +0,0 @@ -# Generated with aft. To update, run: `aft generate workflows` -name: libgit2dart -on: - push: - branches: - - main - - stable - paths: - - '.github/workflows/dart_native.yaml' - - '.github/workflows/dart_vm.yaml' - - '.github/workflows/libgit2dart.yaml' - - 'packages/aft/external/libgit2dart/**/*.dart' - - 'packages/aft/external/libgit2dart/**/*.yaml' - - 'packages/aft/external/libgit2dart/lib/**/*' - - 'packages/aft/external/libgit2dart/test/**/*' - pull_request: - paths: - - '.github/workflows/dart_native.yaml' - - '.github/workflows/dart_vm.yaml' - - '.github/workflows/libgit2dart.yaml' - - 'packages/aft/external/libgit2dart/**/*.dart' - - 'packages/aft/external/libgit2dart/**/*.yaml' - - 'packages/aft/external/libgit2dart/lib/**/*' - - 'packages/aft/external/libgit2dart/test/**/*' - schedule: - - cron: "0 6 * * *" # Every day at 06:00 -defaults: - run: - shell: bash - -permissions: read-all - -# Cancels in-progress job when there is another push to same ref. -# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - test: - uses: ./.github/workflows/dart_vm.yaml - with: - package-name: libgit2dart - working-directory: packages/aft/external/libgit2dart - native_test: - needs: test - uses: ./.github/workflows/dart_native.yaml - with: - package-name: libgit2dart - working-directory: packages/aft/external/libgit2dart