From 4113ea7506feb271f1f9f04e27a33661eabc7003 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Fri, 8 Apr 2022 15:54:00 +0200 Subject: [PATCH] ci: update api-schema generation commit message --- .github/workflows/api-schema.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/api-schema.yml b/.github/workflows/api-schema.yml index 7bc9accfe..a03035348 100644 --- a/.github/workflows/api-schema.yml +++ b/.github/workflows/api-schema.yml @@ -14,19 +14,22 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v3 + - name: Clone api-client repo uses: actions/checkout@v3 with: repository: "${{ github.repository_owner }}/api-client" path: api-client-repo ssh-key: "${{ secrets.API_CLIENT_DEPLOY_KEY }}" + - name: Generate schema run: | make schema cp schema.yml ../api-client-repo/schema.yml working-directory: api + - name: Push schema changes to API clients uses: stefanzweifel/git-auto-commit-action@v4 with: - commit_message: Update schema for ${{ github.sha }} + commit_message: "chore: update schema for ${{ github.repository }}@${{ github.sha }}" repository: ./api-client-repo