Skip to content

Commit

Permalink
chore(schema): sync 3 additional schema definitions from aws-cloudfor…
Browse files Browse the repository at this point in the history
…mation-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
  • Loading branch information
mmaeng authored Oct 6, 2023
1 parent c2e4fa5 commit a3ec96f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/schema-updater.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -9,6 +9,9 @@ jobs:
- uses: actions/checkout@v4
- 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@v5
with:
commit-message: |
Expand Down

0 comments on commit a3ec96f

Please sign in to comment.