Skip to content

Commit 66f4f2f

Browse files
authored
ci(invalid): auto comment (#2597)
1 parent 55a3d0a commit 66f4f2f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/pr-labeled.yml

+13-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,16 @@ jobs:
2323
body: |
2424
@${{ github.event.pull_request.user.login }}, Please add the missing README_EN.md / README.md, please refer to the details for https://github.com/doocs/leetcode/pull/2590/files
2525
26-
@${{ github.event.pull_request.user.login }}, 请补充缺少的 README_EN.md / README.md, 详情参考 https://github.com/doocs/leetcode/pull/2590/files
26+
@${{ github.event.pull_request.user.login }}, 请补充缺少的 README_EN.md / README.md, 详情参考 https://github.com/doocs/leetcode/pull/2590/files
27+
28+
- name: invalid
29+
if: github.event.label.name == 'invalid'
30+
uses: actions-cool/issues-helper@v3
31+
with:
32+
actions: "create-comment"
33+
token: ${{ secrets.DOOCS_BOT_ACTION_TOKEN }}
34+
issue-number: ${{ github.event.pull_request.number }}
35+
body: |
36+
@${{ github.event.pull_request.user.login }}, Please refer to the project specifications provided by bot to check your PR. For PRs that have not been modified for a long time, we will close them and you are welcome to resubmit or correct them.
37+
38+
@${{ github.event.pull_request.user.login }}, 请参考 bot 提供的项目规范检查你的 PR,我们会关闭长时间未修改的 PR,欢迎你重新提交或更正。

0 commit comments

Comments
 (0)