Skip to content

Commit 956861b

Browse files
chore: add workflow_dispatch to GH actions (#4840)
* chore: add `workflow_dispatch` to `aft generate workflows` * chore: re-run `aft generate workflows`
1 parent b2551fa commit 956861b

File tree

74 files changed

+89
-28
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+89
-28
lines changed

.github/dependabot.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -129,20 +129,6 @@ updates:
129129
test:
130130
patterns:
131131
- "test"
132-
- package-ecosystem: "pub"
133-
directory: "infra"
134-
schedule:
135-
interval: "daily"
136-
ignore:
137-
# Ignore patch version bumps
138-
- dependency-name: "*"
139-
update-types:
140-
- "version-update:semver-patch"
141-
# Ignore all repo packages
142-
- dependency-name: "amplify_core"
143-
- dependency-name: "aws_common"
144-
- dependency-name: "amplify_lints"
145-
- dependency-name: "aws_signature_v4"
146132
- package-ecosystem: "pub"
147133
directory: "actions"
148134
schedule:
@@ -207,6 +193,20 @@ updates:
207193
- dependency-name: "amplify_datastore_plugin_interface"
208194
- dependency-name: "amplify_storage_s3"
209195
- dependency-name: "amplify_storage_s3_dart"
196+
- package-ecosystem: "pub"
197+
directory: "infra"
198+
schedule:
199+
interval: "daily"
200+
ignore:
201+
# Ignore patch version bumps
202+
- dependency-name: "*"
203+
update-types:
204+
- "version-update:semver-patch"
205+
# Ignore all repo packages
206+
- dependency-name: "amplify_core"
207+
- dependency-name: "aws_common"
208+
- dependency-name: "amplify_lints"
209+
- dependency-name: "aws_signature_v4"
210210
- package-ecosystem: "pub"
211211
directory: "packages/aft"
212212
schedule:

.github/workflows/amplify_analytics_pinpoint.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ on:
7474
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
7575
schedule:
7676
- cron: "0 13 * * *" # Everyday at 06:00 PST
77+
workflow_dispatch:
7778
defaults:
7879
run:
7980
shell: bash

.github/workflows/amplify_analytics_pinpoint_android.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- main
77
- stable
8-
- next
98
pull_request:
109
paths:
1110
- 'packages/analytics/amplify_analytics_pinpoint/**/*.yaml'
@@ -15,6 +14,7 @@ on:
1514
- '.github/workflows/amplify_analytics_pinpoint_android.yaml'
1615
schedule:
1716
- cron: "0 0 * * 0" # Every Sunday at 00:00
17+
workflow_dispatch:
1818
defaults:
1919
run:
2020
shell: bash

.github/workflows/amplify_analytics_pinpoint_dart.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ on:
7070
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
7171
schedule:
7272
- cron: "0 13 * * *" # Everyday at 06:00 PST
73+
workflow_dispatch:
7374
defaults:
7475
run:
7576
shell: bash

.github/workflows/amplify_analytics_pinpoint_example.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ on:
134134
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
135135
schedule:
136136
- cron: "0 13 * * *" # Everyday at 06:00 PST
137+
workflow_dispatch:
137138
defaults:
138139
run:
139140
shell: bash

.github/workflows/amplify_api.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ on:
6262
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
6363
schedule:
6464
- cron: "0 13 * * *" # Everyday at 06:00 PST
65+
workflow_dispatch:
6566
defaults:
6667
run:
6768
shell: bash

.github/workflows/amplify_api_dart.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ on:
4646
- 'packages/aws_signature_v4/pubspec.yaml'
4747
schedule:
4848
- cron: "0 13 * * *" # Everyday at 06:00 PST
49+
workflow_dispatch:
4950
defaults:
5051
run:
5152
shell: bash

.github/workflows/amplify_api_example.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ on:
138138
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
139139
schedule:
140140
- cron: "0 13 * * *" # Everyday at 06:00 PST
141+
workflow_dispatch:
141142
defaults:
142143
run:
143144
shell: bash

.github/workflows/amplify_auth_cognito.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ on:
9090
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
9191
schedule:
9292
- cron: "0 13 * * *" # Everyday at 06:00 PST
93+
workflow_dispatch:
9394
defaults:
9495
run:
9596
shell: bash

.github/workflows/amplify_auth_cognito_android.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- main
77
- stable
8-
- next
98
pull_request:
109
paths:
1110
- 'packages/auth/amplify_auth_cognito/**/*.yaml'
@@ -15,6 +14,7 @@ on:
1514
- '.github/workflows/amplify_auth_cognito_android.yaml'
1615
schedule:
1716
- cron: "0 0 * * 0" # Every Sunday at 00:00
17+
workflow_dispatch:
1818
defaults:
1919
run:
2020
shell: bash

.github/workflows/amplify_auth_cognito_dart.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ on:
7272
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
7373
schedule:
7474
- cron: "0 13 * * *" # Everyday at 06:00 PST
75+
workflow_dispatch:
7576
defaults:
7677
run:
7778
shell: bash

.github/workflows/amplify_auth_cognito_example.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ on:
146146
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
147147
schedule:
148148
- cron: "0 13 * * *" # Everyday at 06:00 PST
149+
workflow_dispatch:
149150
defaults:
150151
run:
151152
shell: bash

.github/workflows/amplify_auth_cognito_test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ on:
8282
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
8383
schedule:
8484
- cron: "0 13 * * *" # Everyday at 06:00 PST
85+
workflow_dispatch:
8586
defaults:
8687
run:
8788
shell: bash

.github/workflows/amplify_authenticator.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ on:
9494
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
9595
schedule:
9696
- cron: "0 13 * * *" # Everyday at 06:00 PST
97+
workflow_dispatch:
9798
defaults:
9899
run:
99100
shell: bash

.github/workflows/amplify_authenticator_example.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ on:
138138
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
139139
schedule:
140140
- cron: "0 13 * * *" # Everyday at 06:00 PST
141+
workflow_dispatch:
141142
defaults:
142143
run:
143144
shell: bash

.github/workflows/amplify_core.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ on:
4242
- 'packages/aws_signature_v4/pubspec.yaml'
4343
schedule:
4444
- cron: "0 13 * * *" # Everyday at 06:00 PST
45+
workflow_dispatch:
4546
defaults:
4647
run:
4748
shell: bash

.github/workflows/amplify_datastore.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ on:
4242
- 'packages/aws_signature_v4/pubspec.yaml'
4343
schedule:
4444
- cron: "0 13 * * *" # Everyday at 06:00 PST
45+
workflow_dispatch:
4546
defaults:
4647
run:
4748
shell: bash

.github/workflows/amplify_datastore_android.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- main
77
- stable
8-
- next
98
pull_request:
109
paths:
1110
- 'packages/amplify_datastore/**/*.yaml'
@@ -15,6 +14,7 @@ on:
1514
- '.github/workflows/amplify_datastore_android.yaml'
1615
schedule:
1716
- cron: "0 0 * * 0" # Every Sunday at 00:00
17+
workflow_dispatch:
1818
defaults:
1919
run:
2020
shell: bash

.github/workflows/amplify_datastore_example.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ on:
112112
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
113113
schedule:
114114
- cron: "0 13 * * *" # Everyday at 06:00 PST
115+
workflow_dispatch:
115116
defaults:
116117
run:
117118
shell: bash

.github/workflows/amplify_datastore_ios.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- main
77
- stable
8-
- next
98
pull_request:
109
paths:
1110
- 'packages/amplify_datastore/**/*.yaml'
@@ -15,6 +14,7 @@ on:
1514
- '.github/workflows/amplify_datastore_ios.yaml'
1615
schedule:
1716
- cron: "0 0 * * 0" # Every Sunday at 00:00
17+
workflow_dispatch:
1818
defaults:
1919
run:
2020
shell: bash

.github/workflows/amplify_datastore_plugin_interface.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ on:
3838
- 'packages/aws_signature_v4/pubspec.yaml'
3939
schedule:
4040
- cron: "0 13 * * *" # Everyday at 06:00 PST
41+
workflow_dispatch:
4142
defaults:
4243
run:
4344
shell: bash

.github/workflows/amplify_db_common.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ on:
4242
- 'packages/common/amplify_db_common_dart/pubspec.yaml'
4343
schedule:
4444
- cron: "0 13 * * *" # Everyday at 06:00 PST
45+
workflow_dispatch:
4546
defaults:
4647
run:
4748
shell: bash

.github/workflows/amplify_db_common_android.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- main
77
- stable
8-
- next
98
pull_request:
109
paths:
1110
- 'packages/common/amplify_db_common/**/*.yaml'
@@ -15,6 +14,7 @@ on:
1514
- '.github/workflows/amplify_db_common_android.yaml'
1615
schedule:
1716
- cron: "0 0 * * 0" # Every Sunday at 00:00
17+
workflow_dispatch:
1818
defaults:
1919
run:
2020
shell: bash

.github/workflows/amplify_db_common_dart.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ on:
4646
- 'packages/common/amplify_db_common_dart/test/**/*'
4747
schedule:
4848
- cron: "0 13 * * *" # Everyday at 06:00 PST
49+
workflow_dispatch:
4950
defaults:
5051
run:
5152
shell: bash

.github/workflows/amplify_db_common_example.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ on:
6666
- 'packages/common/amplify_db_common_dart/pubspec.yaml'
6767
schedule:
6868
- cron: "0 13 * * *" # Everyday at 06:00 PST
69+
workflow_dispatch:
6970
defaults:
7071
run:
7172
shell: bash

.github/workflows/amplify_db_common_ios.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- main
77
- stable
8-
- next
98
pull_request:
109
paths:
1110
- 'packages/common/amplify_db_common/**/*.yaml'
@@ -15,6 +14,7 @@ on:
1514
- '.github/workflows/amplify_db_common_ios.yaml'
1615
schedule:
1716
- cron: "0 0 * * 0" # Every Sunday at 00:00
17+
workflow_dispatch:
1818
defaults:
1919
run:
2020
shell: bash

.github/workflows/amplify_flutter.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ on:
5454
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
5555
schedule:
5656
- cron: "0 13 * * *" # Everyday at 06:00 PST
57+
workflow_dispatch:
5758
defaults:
5859
run:
5960
shell: bash

.github/workflows/amplify_flutter_example.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ on:
118118
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
119119
schedule:
120120
- cron: "0 13 * * *" # Everyday at 06:00 PST
121+
workflow_dispatch:
121122
defaults:
122123
run:
123124
shell: bash

.github/workflows/amplify_lints.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ on:
2222
- 'packages/amplify_lints/test/**/*'
2323
schedule:
2424
- cron: "0 13 * * *" # Everyday at 06:00 PST
25+
workflow_dispatch:
2526
defaults:
2627
run:
2728
shell: bash

.github/workflows/amplify_native_legacy_wrapper.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ on:
2626
- 'packages/amplify_native_legacy_wrapper/test/**/*'
2727
schedule:
2828
- cron: "0 13 * * *" # Everyday at 06:00 PST
29+
workflow_dispatch:
2930
defaults:
3031
run:
3132
shell: bash

.github/workflows/amplify_native_legacy_wrapper_android.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- main
77
- stable
8-
- next
98
pull_request:
109
paths:
1110
- 'packages/amplify_native_legacy_wrapper/**/*.yaml'
@@ -15,6 +14,7 @@ on:
1514
- '.github/workflows/amplify_native_legacy_wrapper_android.yaml'
1615
schedule:
1716
- cron: "0 0 * * 0" # Every Sunday at 00:00
17+
workflow_dispatch:
1818
defaults:
1919
run:
2020
shell: bash

.github/workflows/amplify_native_legacy_wrapper_example.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ on:
3434
- 'packages/aws_common/pubspec.yaml'
3535
schedule:
3636
- cron: "0 13 * * *" # Everyday at 06:00 PST
37+
workflow_dispatch:
3738
defaults:
3839
run:
3940
shell: bash

.github/workflows/amplify_native_legacy_wrapper_ios.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- main
77
- stable
8-
- next
98
pull_request:
109
paths:
1110
- 'packages/amplify_native_legacy_wrapper/**/*.yaml'
@@ -15,6 +14,7 @@ on:
1514
- '.github/workflows/amplify_native_legacy_wrapper_ios.yaml'
1615
schedule:
1716
- cron: "0 0 * * 0" # Every Sunday at 00:00
17+
workflow_dispatch:
1818
defaults:
1919
run:
2020
shell: bash

.github/workflows/amplify_push_notifications.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ on:
6060
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
6161
schedule:
6262
- cron: "0 13 * * *" # Everyday at 06:00 PST
63+
workflow_dispatch:
6364
defaults:
6465
run:
6566
shell: bash

.github/workflows/amplify_push_notifications_android.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
branches:
66
- main
77
- stable
8-
- next
98
pull_request:
109
paths:
1110
- 'packages/notifications/push/amplify_push_notifications/**/*.yaml'
@@ -15,6 +14,7 @@ on:
1514
- '.github/workflows/amplify_push_notifications_android.yaml'
1615
schedule:
1716
- cron: "0 0 * * 0" # Every Sunday at 00:00
17+
workflow_dispatch:
1818
defaults:
1919
run:
2020
shell: bash

.github/workflows/amplify_push_notifications_example.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ on:
5858
- 'packages/worker_bee/worker_bee_builder/pubspec.yaml'
5959
schedule:
6060
- cron: "0 13 * * *" # Everyday at 06:00 PST
61+
workflow_dispatch:
6162
defaults:
6263
run:
6364
shell: bash

0 commit comments

Comments
 (0)