diff --git a/.github/workflows/autocorrect.yml b/.github/workflows/autocorrect.yml index 9b0bda89..5dd94337 100644 --- a/.github/workflows/autocorrect.yml +++ b/.github/workflows/autocorrect.yml @@ -1,5 +1,5 @@ name: Autocorrect -on: [push, pull_request] +on: [pull_request] jobs: autocorrect: name: Check text autocorrect @@ -12,3 +12,14 @@ jobs: - name: Exec autocorrect uses: huacnlee/autocorrect-action@main + with: + use_npm: true + + - name: Report ReviewDog + if: failure() + uses: huacnlee/autocorrect-action@main + env: + REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.REVIEWDOG_TOKEN }} + with: + use_npm: true + reviewdog: true diff --git a/docs/getting-developed/how-to-access-api.md b/docs/getting-developed/how-to-access-api.md index d2aa2496..7cb10fd6 100644 --- a/docs/getting-developed/how-to-access-api.md +++ b/docs/getting-developed/how-to-access-api.md @@ -9,8 +9,8 @@ sidebar_position: 1 | 注意事项 | 参考文档 | | -------------------------------------------- | ------------------------------------------------- | -| 推荐使用各自语言的 SDK,而不是调用原生的接口 | [SDK 快速开始页面](../docs/getting-started) | -| 阅读 OpenAPI 介绍中开通相应服务 | [OpenAPI 如何开通](../docs/#如何开通) | +| 推荐使用各自语言的SDK,而不是调用原生的接口 | [SDK 快速开始页面](../docs/getting-started) | +| 阅读OpenAPI介绍中开通相应服务 | [OpenAPI 如何开通](../docs/#如何开通) | | 阅读 OpenAPI 介绍中使用权限及限制 | [OpenAPI 使用权限及限制](../docs/#使用权限及限制) | | 了解通用错误码,便于查找调用接口出错的原因 | [通用错误码](../docs/error-codes) | diff --git a/docs/qa/quote.md b/docs/qa/quote.md index a81b9335..2dfc54ea 100644 --- a/docs/qa/quote.md +++ b/docs/qa/quote.md @@ -77,7 +77,7 @@ A:标的代码使用 `ticker.region` 格式,`ticker` 表示标的代码。 可以使用 LongPort App 查看标的的 symbol -## Q4:OpenAPI 的行情权限是怎么样?如何购买行情卡? +## Q4:OpenAPI的行情权限是怎么样?如何购买行情卡? A: