Skip to content

Commit a3ec96f

Browse files
authored
chore(schema): sync 3 additional schema definitions from aws-cloudformation-resource-schema (#921)
* Added 3 additional schema definitions to be synced from aws-cloudformation/aws-cloudformation-resource-schema * change workflow to sync once a day
1 parent c2e4fa5 commit a3ec96f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/schema-updater.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
on:
22
schedule:
3-
- cron: '*/5 * * * *'
3+
- cron: '0 0 * * *'
44
workflow_dispatch: # Enables on-demand/manual triggering: https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/manually-running-a-workflow
55
jobs:
66
schema-updater:
@@ -9,6 +9,9 @@ jobs:
99
- uses: actions/checkout@v4
1010
- run: |
1111
curl https://raw.githubusercontent.com/aws-cloudformation/aws-cloudformation-resource-schema/master/src/main/resources/schema/provider.definition.schema.v1.json > src/rpdk/core/data/schema/provider.definition.schema.v1.json
12+
curl https://raw.githubusercontent.com/aws-cloudformation/aws-cloudformation-resource-schema/master/src/main/resources/schema/provider.configuration.definition.schema.v1.json > src/rpdk/core/data/schema/provider.configuration.definition.schema.v1.json
13+
curl https://raw.githubusercontent.com/aws-cloudformation/aws-cloudformation-resource-schema/master/src/main/resources/schema/base.definition.schema.v1.json > src/rpdk/core/data/schema/base.definition.schema.v1.json
14+
curl https://raw.githubusercontent.com/aws-cloudformation/aws-cloudformation-resource-schema/master/src/main/resources/schema/schema > src/rpdk/core/data/schema/meta-schema.json
1215
- uses: peter-evans/create-pull-request@v5
1316
with:
1417
commit-message: |

0 commit comments

Comments
 (0)