From 124994a04ed431fcde63a9dee341a333ccec8840 Mon Sep 17 00:00:00 2001 From: Andrew Maguire Date: Sun, 15 Jan 2023 09:34:04 +0000 Subject: [PATCH] turn off auto-commit as clashing with branch protection (#723) disable openapi docs auto-commit while we resolve issue of clashing with branch protection --- .github/workflows/test-api-contract.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-api-contract.yaml b/.github/workflows/test-api-contract.yaml index 30ceb518..bee2f357 100644 --- a/.github/workflows/test-api-contract.yaml +++ b/.github/workflows/test-api-contract.yaml @@ -4,7 +4,6 @@ on: push: branches: - main - - add-api-docs-workflow paths: - "oasst-shared/**" - "backend/**" @@ -46,8 +45,8 @@ jobs: - run: ./scripts/backend-development/stop-mock-server.sh - - uses: stefanzweifel/git-auto-commit-action@v4 - with: - file_pattern: "docs/docs/api/openapi.json" - commit_message: - update docs/docs/api/openapi.json by run ${{ github.run_id }} + #- uses: stefanzweifel/git-auto-commit-action@v4 + # with: + # file_pattern: "docs/docs/api/openapi.json" + # commit_message: + # update docs/docs/api/openapi.json by run ${{ github.run_id }}