ci: update api-schema generation commit message
This commit is contained in:
parent
beebe79edd
commit
4113ea7506
|
@ -14,19 +14,22 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v3
|
- uses: actions/setup-python@v3
|
||||||
|
|
||||||
- name: Clone api-client repo
|
- name: Clone api-client repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: "${{ github.repository_owner }}/api-client"
|
repository: "${{ github.repository_owner }}/api-client"
|
||||||
path: api-client-repo
|
path: api-client-repo
|
||||||
ssh-key: "${{ secrets.API_CLIENT_DEPLOY_KEY }}"
|
ssh-key: "${{ secrets.API_CLIENT_DEPLOY_KEY }}"
|
||||||
|
|
||||||
- name: Generate schema
|
- name: Generate schema
|
||||||
run: |
|
run: |
|
||||||
make schema
|
make schema
|
||||||
cp schema.yml ../api-client-repo/schema.yml
|
cp schema.yml ../api-client-repo/schema.yml
|
||||||
working-directory: api
|
working-directory: api
|
||||||
|
|
||||||
- name: Push schema changes to API clients
|
- name: Push schema changes to API clients
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
with:
|
with:
|
||||||
commit_message: Update schema for ${{ github.sha }}
|
commit_message: "chore: update schema for ${{ github.repository }}@${{ github.sha }}"
|
||||||
repository: ./api-client-repo
|
repository: ./api-client-repo
|
||||||
|
|
Loading…
Reference in New Issue