trieve icon indicating copy to clipboard operation
trieve copied to clipboard

ops: autogenerate sdk's with a CI action when the openapi spec changes

Open cdxker opened this issue 1 year ago • 1 comments

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.

cdxker avatar Mar 25 '24 17:03 cdxker

@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?

tfolbrecht avatar Mar 26 '24 17:03 tfolbrecht

Closing this issue, autogen pull requests is a little bit too ambitious at the moment. Switching issue to this #1476

cdxker avatar May 17 '24 01:05 cdxker