Skip to content

Commit 78b66aa

Browse files
committed
修正comment信息。
1 parent 10c683a commit 78b66aa

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ jobs:
88
markdown-lint:
99
runs-on: ubuntu-latest
1010
steps:
11+
- name: Comment
12+
uses: thollander/actions-comment-pull-request@v1
13+
with:
14+
message: '正在运行自动化检查... \n\n**只有通过自动化检查的合并请求才会被人工审批,请确保此 Pull Request 能够通过自动化检查!**'
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1116
- uses: actions/checkout@v2
1217
- uses: actions/setup-node@v2
1318
with:
@@ -21,12 +26,8 @@ jobs:
2126
- run: mkdocs build --strict
2227
- run: npm install
2328
- run: node .github/manual_lint.js
24-
- name: Comment
29+
- name: Comment failure message
2530
if: always()
26-
uses: thollander/actions-comment-pull-request@v1
27-
with:
28-
message: '只有通过自动化检查的合并请求才会被人工审批,请确保此 Pull Request 能够通过自动化检查!'
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30-
- uses: quipper/comment-failure-action@v0.1.1
31+
uses: quipper/comment-failure-action@v0.1.1
3132
# Suppress 036 Emphasis used instead of a header
3233
# Suppress 024 Multiple headers with the same content

0 commit comments

Comments
 (0)