From 78b66aa9b7da099a8d3572f34cc94fe5c8923f97 Mon Sep 17 00:00:00 2001 From: Anduin Xue Date: Mon, 21 Mar 2022 02:59:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3comment=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67afc34..72c2978 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,11 @@ jobs: markdown-lint: runs-on: ubuntu-latest steps: + - name: Comment + uses: thollander/actions-comment-pull-request@v1 + with: + message: '正在运行自动化检查... \n\n**只有通过自动化检查的合并请求才会被人工审批,请确保此 Pull Request 能够通过自动化检查!**' + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: @@ -21,12 +26,8 @@ jobs: - run: mkdocs build --strict - run: npm install - run: node .github/manual_lint.js - - name: Comment + - name: Comment failure message if: always() - uses: thollander/actions-comment-pull-request@v1 - with: - message: '只有通过自动化检查的合并请求才会被人工审批,请确保此 Pull Request 能够通过自动化检查!' - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: quipper/comment-failure-action@v0.1.1 + uses: quipper/comment-failure-action@v0.1.1 # Suppress 036 Emphasis used instead of a header # Suppress 024 Multiple headers with the same content