mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-09-09 11:15:08 +08:00
export and auto-commit docs/docs/api/openapi.json as part of test-api-contract workflow (#719)
- copies that openapi.json file to docs/docs/api/openapi.json as part of start-mock-server.sh. - adds a step to the end of the test-api-contract workflow that just auto-commits changes to the docs/docs/api/openapi.json file. - excludes docs/docs/api/openapi.json from pre-commit since its already been formatted by jq.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#
|
||||
# /WARNING!
|
||||
|
||||
exclude: build|stubs|^bot/templates/$|openassistant/templates
|
||||
exclude: build|stubs|^bot/templates/$|openassistant/templates|docs/docs/api/openapi.json
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
|
||||
Reference in New Issue
Block a user