mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2025-01-30 13:32:56 +08:00
Better CI interaction.
This commit is contained in:
parent
63d9bbffa9
commit
8cd7b79bcc
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
- name: Comment
|
- name: Comment
|
||||||
uses: thollander/actions-comment-pull-request@v1
|
uses: thollander/actions-comment-pull-request@v1
|
||||||
with:
|
with:
|
||||||
message: '正在运行自动化菜谱内容规范检查……预计需要 1 分钟。'
|
message: '正在检查您的贡献请求……这预计需要 1 分钟,请稍等……'
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
@ -29,13 +29,13 @@ jobs:
|
|||||||
- name: Comment
|
- name: Comment
|
||||||
uses: thollander/actions-comment-pull-request@v1
|
uses: thollander/actions-comment-pull-request@v1
|
||||||
with:
|
with:
|
||||||
message: '自动化内容检查通过。 请 @Anduin2017 尽快合并此 Pull Request!**'
|
message: '内容检查完成,感谢您的贡献! 我们很快就会合并此 Pull Request! @Anduin2017'
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Comment
|
- name: Comment
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: thollander/actions-comment-pull-request@v1
|
uses: thollander/actions-comment-pull-request@v1
|
||||||
with:
|
with:
|
||||||
message: '**不能**合并此 Pull Request,因为它未能通过自动化检查!请**确保**内容符合规范!'
|
message: '尚**不能继续此 Pull Request!** 其内容不符合规范!请确保内容符合规范后重新提交!'
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user