jozu-ai / kitops

Tools for easing the handoff between AI/ML and App/SRE teams.
https://KitOps.ml
Apache License 2.0
266 stars 26 forks source link

Update release action to use gh for creating a docs update PR #246

Closed amisevsk closed 2 months ago

amisevsk commented 2 months ago

Description

Open docs update PRs using the gh CLI rather than a marketplace action. The new step is

  1. Create a branch <ref>-docs-update, sync it with origin (in case it already exists)
  2. Set up git user name/email as required
  3. Generate docs
  4. Create a commit with updated docs
  5. Open a PR via gh create pr

Testing

I tested a simplified version of this step on my fork (I'll delete this commit once this PR is merged):

Linked issues

N/A