From 10c683a746f7d79d96e7e9f540a33b7c0360d4e6 Mon Sep 17 00:00:00 2001 From: Anduin Xue Date: Mon, 21 Mar 2022 02:56:27 +0800 Subject: [PATCH] Comment failure action. --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2295e5e..67afc34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,5 +21,12 @@ jobs: - run: mkdocs build --strict - run: npm install - run: node .github/manual_lint.js + - name: Comment + 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 # Suppress 036 Emphasis used instead of a header # Suppress 024 Multiple headers with the same content