-
Notifications
You must be signed in to change notification settings - Fork 3
49 lines (39 loc) · 1.1 KB
/
schema.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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]"