-
Notifications
You must be signed in to change notification settings - Fork 6
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
wanghuimin45
committed
Oct 17, 2023
1 parent
b9b48af
commit d01de2f
Showing
5 changed files
with
96 additions
and
2 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
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
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Close Inactive Issue | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
close-issues: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: close inactive issue without reprodction | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'close-issues' | ||
labels: 'Need Reproduction' | ||
inactive-day: 14 | ||
body: | | ||
Since the issue was labeled with `Need Reproduction`, but no response in 7 days. This issue will be close. If you have any questions, you can comment and reply. | ||
由于该 issue 被标记为需要可复现步骤,却 14 天未收到回应。现关闭 issue,若有任何问题,可评论回复。 | ||
- name: close inactive issue not use template | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'close-issues' | ||
labels: 'pls use issue template' | ||
inactive-day: 14 | ||
body: | | ||
Since the issue was labeled with `pls use issue template`, but no response in 7 days. This issue will be close. If you have any questions, you can comment and reply. | ||
由于该 issue 被标记为需要使用模板,却 14 天未收到回应。现关闭 issue,若有任何问题,可评论回复。 | ||
- name: close inactive issue | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'close-issues' | ||
labels: 'inactive' | ||
inactive-day: 14 | ||
body: | | ||
Since the issue was labeled with `inactive`, but no response in 7 days. This issue will be close. If you have any questions, you can comment and reply. | ||
由于该 issue 被标记为不活跃,且 14 天未收到回应。现关闭 issue,若有任何问题,可评论回复。 |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Deploy Docs to gh-pages | ||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
deploy-gh-pages: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v2 | ||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./docs |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Issue Comment | ||
|
||
on: | ||
issues: | ||
types: [labeled] | ||
|
||
jobs: | ||
reply-helper: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: help wanted | ||
if: github.event.label.name == 'pr welcome' | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'create-comment' | ||
issue-number: ${{ github.event.issue.number }} | ||
body: | | ||
Hello @${{ github.event.issue.user.login }}. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please be sure to submit compliant commit message, provide changelog/documentation/test cases, we will review it soon. We appreciate your effort in advance and looking forward to your contribution! | ||
您好 @${{ github.event.issue.user.login }},我们完全同意您的提议/反馈,欢迎直接在此仓库创建一个 Pull Request 来解决这个问题。请务必填写符合规范的commit message,提供改动所需相应的 changelog、测试用例、文档等,我们会尽快进行 Review,提前感谢和期待您的贡献。 | ||
- name: pls use issue template | ||
if: github.event.label.name == 'pls use issue template' | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'create-comment, close-issue' | ||
issue-number: ${{ github.event.issue.number }} | ||
body: | | ||
Hello @${{ github.event.issue.user.login }}. Please use the issue template to report. This issue will be closed. | ||
您好 @${{ github.event.issue.user.login }},请使用 issue 模板反馈问题。该 issue 将要被关闭。 | ||
- name: Need Reproduction | ||
if: github.event.label.name == 'Need Reproduction' | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'create-comment' | ||
issue-number: ${{ github.event.issue.number }} | ||
body: | | ||
Hello @${{ github.event.issue.user.login }}. In order to facilitate location and troubleshooting, we need you to provide a realistic GitHub repository. | ||
您好 @${{ github.event.issue.user.login }}, 为了方便定位和排查问题,我们需要您提供一个重现实例,请提供一个尽可能精简的 GitHub 仓库地址。 |