Skip to content

Update client

Update client #46

name: Update client
on:
schedule:
- cron: '0 10 * * 1'
workflow_dispatch:
jobs:
update-dep:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- run: make fetch-openapi
- run: make generate
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.PAT }}
commit-message: "feat: update client"
title: Update client
body: |
Re-generated the client based on the api schema.
branch: update-client