turn off auto-commit as clashing with branch protection (#723)

disable openapi docs auto-commit while we resolve issue of clashing with branch protection
This commit is contained in:
Andrew Maguire
2023-01-15 09:34:04 +00:00
committed by GitHub
parent acc629e73c
commit 124994a04e
+5 -6
View File
@@ -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 }}