Skip to content

fix: regenerate API schema #101

fix: regenerate API schema

fix: regenerate API schema #101

Workflow file for this run

name: Schema
on:
push:
branches: [main]
paths:
- .github/workflows/schema.yml
- Dockerfile
- Makefile
- schema.yml
pull_request:
branches: [main]
paths:
- .github/workflows/schema.yml
- Dockerfile
- Makefile
- schema.yml
jobs:
generate:
name: Generate clients
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: Generate Javascript client
run: make javascript-client
- name: Generate Python client
run: make python-client
- name: Generate PHP client
run: make php-client
- name: Commit changes
if: github.repository_owner == 'libretime' && github.event_name == 'push'
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: |
${{ github.event.head_commit.message }}
${{ github.repository }}@${{ github.sha }}
commit_user_name: "libretime-bot"
commit_user_email: "[email protected]"