chore(deps): update openapitools/openapi-generator-cli docker tag to … #86
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
- 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]" |