optimade-python-tools icon indicating copy to clipboard operation
optimade-python-tools copied to clipboard

Need a way to update the spec OpenAPI source from this repo

Open ml-evs opened this issue 4 years ago • 1 comments

As it stands, we have to manually sync the openapi schemas from this package with the same files in the spec (https://github.com/Materials-Consortia/OPTIMADE/tree/develop/schemas); this hasn't been done for 3 months.

The suggestion is to add another GH action to make a PR against the spec when the version here has changed (https://github.com/marketplace/actions/create-pull-request).

ml-evs avatar Jun 11 '20 22:06 ml-evs

I don't think that action can commit to a different repo. The better way is probably to have the main OPTIMADE repo have this repo as a sub-module and respond to changes in this repo using dependabot.

shyamd avatar Jun 13 '20 16:06 shyamd