Skip to content

Commit

Permalink
chore: add workflow_dispatch to GH actions (#4840)
Browse files Browse the repository at this point in the history
* chore: add `workflow_dispatch` to `aft generate workflows`

* chore: re-run `aft generate workflows`
  • Loading branch information
Jordan-Nelson committed Jun 27, 2024
1 parent c6c61d0 commit 5dbed28
Show file tree
Hide file tree
Showing 74 changed files with 89 additions and 28 deletions.
28 changes: 14 additions & 14 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,20 +129,6 @@ updates:
test:
patterns:
- "test"
- package-ecosystem: "pub"
directory: "infra"
schedule:
interval: "daily"
ignore:
# Ignore patch version bumps
- dependency-name: "*"
update-types:
- "version-update:semver-patch"
# Ignore all repo packages
- dependency-name: "amplify_core"
- dependency-name: "aws_common"
- dependency-name: "amplify_lints"
- dependency-name: "aws_signature_v4"
- package-ecosystem: "pub"
directory: "actions"
schedule:
Expand Down Expand Up @@ -207,6 +193,20 @@ updates:
- dependency-name: "amplify_datastore_plugin_interface"
- dependency-name: "amplify_storage_s3"
- dependency-name: "amplify_storage_s3_dart"
- package-ecosystem: "pub"
directory: "infra"
schedule:
interval: "daily"
ignore:
# Ignore patch version bumps
- dependency-name: "*"
update-types:
- "version-update:semver-patch"
# Ignore all repo packages
- dependency-name: "amplify_core"
- dependency-name: "aws_common"
- dependency-name: "amplify_lints"
- dependency-name: "aws_signature_v4"
- package-ecosystem: "pub"
directory: "packages/aft"
schedule:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_analytics_pinpoint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ on:
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/amplify_analytics_pinpoint_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- main
- stable
- next
pull_request:
paths:
- 'packages/analytics/amplify_analytics_pinpoint/**/*.yaml'
Expand All @@ -15,6 +14,7 @@ on:
- '.github/workflows/amplify_analytics_pinpoint_android.yaml'
schedule:
- cron: "0 0 * * 0" # Every Sunday at 00:00
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_analytics_pinpoint_dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ on:
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_analytics_pinpoint_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ on:
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ on:
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_api_dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ on:
- 'packages/aws_signature_v4/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_api_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ on:
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_auth_cognito.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ on:
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/amplify_auth_cognito_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- main
- stable
- next
pull_request:
paths:
- 'packages/auth/amplify_auth_cognito/**/*.yaml'
Expand All @@ -15,6 +14,7 @@ on:
- '.github/workflows/amplify_auth_cognito_android.yaml'
schedule:
- cron: "0 0 * * 0" # Every Sunday at 00:00
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_auth_cognito_dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ on:
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_auth_cognito_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ on:
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_auth_cognito_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ on:
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_authenticator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ on:
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_authenticator_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ on:
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ on:
- 'packages/aws_signature_v4/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_datastore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ on:
- 'packages/aws_signature_v4/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/amplify_datastore_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- main
- stable
- next
pull_request:
paths:
- 'packages/amplify_datastore/**/*.yaml'
Expand All @@ -15,6 +14,7 @@ on:
- '.github/workflows/amplify_datastore_android.yaml'
schedule:
- cron: "0 0 * * 0" # Every Sunday at 00:00
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_datastore_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ on:
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/amplify_datastore_ios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- main
- stable
- next
pull_request:
paths:
- 'packages/amplify_datastore/**/*.yaml'
Expand All @@ -15,6 +14,7 @@ on:
- '.github/workflows/amplify_datastore_ios.yaml'
schedule:
- cron: "0 0 * * 0" # Every Sunday at 00:00
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_datastore_plugin_interface.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ on:
- 'packages/aws_signature_v4/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_db_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ on:
- 'packages/common/amplify_db_common_dart/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/amplify_db_common_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- main
- stable
- next
pull_request:
paths:
- 'packages/common/amplify_db_common/**/*.yaml'
Expand All @@ -15,6 +14,7 @@ on:
- '.github/workflows/amplify_db_common_android.yaml'
schedule:
- cron: "0 0 * * 0" # Every Sunday at 00:00
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_db_common_dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ on:
- 'packages/common/amplify_db_common_dart/test/**/*'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_db_common_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ on:
- 'packages/common/amplify_db_common_dart/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/amplify_db_common_ios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- main
- stable
- next
pull_request:
paths:
- 'packages/common/amplify_db_common/**/*.yaml'
Expand All @@ -15,6 +14,7 @@ on:
- '.github/workflows/amplify_db_common_ios.yaml'
schedule:
- cron: "0 0 * * 0" # Every Sunday at 00:00
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_flutter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ on:
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_flutter_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ on:
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_lints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:
- 'packages/amplify_lints/test/**/*'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_native_legacy_wrapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ on:
- 'packages/amplify_native_legacy_wrapper/test/**/*'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- main
- stable
- next
pull_request:
paths:
- 'packages/amplify_native_legacy_wrapper/**/*.yaml'
Expand All @@ -15,6 +14,7 @@ on:
- '.github/workflows/amplify_native_legacy_wrapper_android.yaml'
schedule:
- cron: "0 0 * * 0" # Every Sunday at 00:00
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ on:
- 'packages/aws_common/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/amplify_native_legacy_wrapper_ios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- main
- stable
- next
pull_request:
paths:
- 'packages/amplify_native_legacy_wrapper/**/*.yaml'
Expand All @@ -15,6 +14,7 @@ on:
- '.github/workflows/amplify_native_legacy_wrapper_ios.yaml'
schedule:
- cron: "0 0 * * 0" # Every Sunday at 00:00
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_push_notifications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ on:
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/amplify_push_notifications_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- main
- stable
- next
pull_request:
paths:
- 'packages/notifications/push/amplify_push_notifications/**/*.yaml'
Expand All @@ -15,6 +14,7 @@ on:
- '.github/workflows/amplify_push_notifications_android.yaml'
schedule:
- cron: "0 0 * * 0" # Every Sunday at 00:00
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/amplify_push_notifications_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ on:
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
schedule:
- cron: "0 13 * * *" # Everyday at 06:00 PST
workflow_dispatch:
defaults:
run:
shell: bash
Expand Down
Loading

0 comments on commit 5dbed28

Please sign in to comment.