Skip to content

Update client

Update client #107

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 Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- run: npm ci
- run: make fetch-openapi
- run: make generate
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.PAT }}
commit-message: Update dependencies
title: Update client
body: |
Re-generated the client based on the api schema.
branch: update-client