mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2025-12-18 03:04:23 +08:00
Merge branch 'master' into master
This commit is contained in:
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
@@ -8,11 +8,6 @@ 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: '正在检查您的贡献请求……这预计需要 1 分钟,请稍等……'
|
|
||||||
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:
|
||||||
@@ -26,16 +21,5 @@ 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
|
# Suppress 036 Emphasis used instead of a header
|
||||||
uses: thollander/actions-comment-pull-request@v1
|
# Suppress 024 Multiple headers with the same content
|
||||||
with:
|
|
||||||
message: '内容检查完成,感谢您的贡献! 我们很快就会合并此 Pull Request! @Anduin2017'
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- name: Comment
|
|
||||||
if: failure()
|
|
||||||
uses: thollander/actions-comment-pull-request@v1
|
|
||||||
with:
|
|
||||||
message: '尚**不能继续此 Pull Request!** 其内容不符合规范!请确保内容符合规范后重新提交!'
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
# Suppress 036 Emphasis used instead of a header
|
|
||||||
# Suppress 024 Multiple headers with the same content
|
|
||||||
|
|||||||
Reference in New Issue
Block a user