From 5d8b2794d79c18e7c4839513c3288cee15940329 Mon Sep 17 00:00:00 2001 From: Michael Maeng Date: Wed, 19 Oct 2022 09:45:39 -0400 Subject: [PATCH 1/2] Added 3 additional schema definitions to be synced from aws-cloudformation/aws-cloudformation-resource-schema --- .github/workflows/schema-updater.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/schema-updater.yaml b/.github/workflows/schema-updater.yaml index a8162936..d671bd20 100644 --- a/.github/workflows/schema-updater.yaml +++ b/.github/workflows/schema-updater.yaml @@ -9,6 +9,9 @@ jobs: - uses: actions/checkout@v2 - run: | 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 + 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 + 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 + 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 - uses: peter-evans/create-pull-request@v3 with: commit-message: | From 4ed3e46788d400bb5f7449a4267119eb800c64e3 Mon Sep 17 00:00:00 2001 From: Michael Maeng Date: Wed, 19 Oct 2022 17:09:35 -0400 Subject: [PATCH 2/2] change workflow to sync once a day --- .github/workflows/schema-updater.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/schema-updater.yaml b/.github/workflows/schema-updater.yaml index d671bd20..80e79612 100644 --- a/.github/workflows/schema-updater.yaml +++ b/.github/workflows/schema-updater.yaml @@ -1,6 +1,6 @@ on: schedule: - - cron: '*/5 * * * *' + - cron: '0 0 * * *' workflow_dispatch: # Enables on-demand/manual triggering: https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/manually-running-a-workflow jobs: schema-updater: