修正comment信息。

This commit is contained in:
Anduin Xue 2022-03-21 02:59:51 +08:00
parent 10c683a746
commit 78b66aa9b7

View File

@ -8,6 +8,11 @@ jobs:
markdown-lint: markdown-lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: 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/checkout@v2
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
@ -21,12 +26,8 @@ jobs:
- run: mkdocs build --strict - run: mkdocs build --strict
- run: npm install - run: npm install
- run: node .github/manual_lint.js - run: node .github/manual_lint.js
- name: Comment - name: Comment failure message
if: always() if: always()
uses: thollander/actions-comment-pull-request@v1 uses: quipper/comment-failure-action@v0.1.1
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 036 Emphasis used instead of a header
# Suppress 024 Multiple headers with the same content # Suppress 024 Multiple headers with the same content