forked from Anduin2017/HowToCook
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
10c683a
commit 78b66aa
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
uses: quipper/[email protected] | ||
# Suppress 036 Emphasis used instead of a header | ||
# Suppress 024 Multiple headers with the same content |