trieve
trieve copied to clipboard
ops: autogenerate sdk's with a CI action when the openapi spec changes
Description
This CI action should attempt to create a PR to https://github.com/devflowinc/trieve-ruby-client everytime the openapi spec changes. Should be flexible to also work with python, and typescript clients once they get generated.
To generate the openapi spec run
cargo run --bin redoc_ci > openapi.json
Helpful links
- https://stackoverflow.com/questions/68057744/create-pull-request-with-github-action <- Using gh cli
- https://github.com/marketplace/actions/create-pull-request <- GH marketplace PR action
Target(s)
ops
Community channels
Matrix is preferred. Reach out on discord or Matrix for further assistance.
@fastfists How do you want this to work?
Do you want to trigger the downstream trieve-ruby-client build job after new PR's hit main from the trieve repo?
Closing this issue, autogen pull requests is a little bit too ambitious at the moment. Switching issue to this #1476