diff --git a/.github/workflows/pr-open-check.yml b/.github/workflows/pr-open-check.yml index fb4ec7a..edad1ea 100644 --- a/.github/workflows/pr-open-check.yml +++ b/.github/workflows/pr-open-check.yml @@ -12,14 +12,17 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 + - uses: wagoid/commitlint-github-action@v4 + - uses: actions/setup-node@v2 with: node-version: '18' check-latest: true + - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_ENV - uses: actions/cache@v4 with: @@ -29,7 +32,7 @@ jobs: - name: Install dependencies if: steps.yarn-cache.outputs.cache-hit != 'true' run: yarn - + - name: Run Lint run: yarn lint-md diff --git a/README.md b/README.md index 2b26493..630d63e 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,16 @@ # 机器人文档 -本仓库是 QQ 机器人文档项目,基于[vuepress](https://vuepress.vuejs.org/zh/)构建。对应文档网站是 。 +本仓库是 QQ 机器人文档项目,基于[vuepress](https://vuepress.vuejs.org/zh/)构建。对应文档网站是[https://bot.q.qq.com/wiki/](https://bot.q.qq.com/wiki/) 。 ## 本地开发 通过以下任何一种方式进行本地开发 -### 1、Gitpod 在线开发 +### 1. Gitpod 在线开发 [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/tencent-connect/bot-docs) -### 2、本地克隆代码开发 +### 2. 本地克隆代码开发 ```sh git clone git@github.com:tencent-connect/bot-docs.git @@ -50,7 +50,13 @@ docs 欢迎扫码加入 **QQ 频道开发者社区**。 -![开发者社区](https://mpqq.gtimg.cn/privacy/qq_guild_developer.png) + + + + + Star History Chart + + ## 贡献者