-
Notifications
You must be signed in to change notification settings - Fork 14
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
Showing
3 changed files
with
64 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
on: | ||
issues: | ||
types: [labeled] | ||
|
||
jobs: | ||
create-comment: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Create comment for enhancement | ||
if: github.event.label.name == 'enhancement' | ||
uses: actions-cool/issues-helper@v3 | ||
with: | ||
actions: 'create-comment' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
body: | | ||
你好 @${{ github.event.issue.user.login }},我们已经记录了你的新功能提议。如果你有任何具体的实现想法或设计草图,欢迎随时分享给我们。 | ||
emoji: 'eyes' | ||
|
||
- name: Create comment for bug | ||
if: github.event.label.name == 'bug' | ||
uses: actions-cool/issues-helper@v3 | ||
with: | ||
actions: 'create-comment' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
body: | | ||
你好 @${{ github.event.issue.user.login }},看来我们的代码不小心打了个盹儿。别担心,我们已经唤醒了开发团队,他们正快马加鞭地赶来修复!🔨🐞 | ||
emoji: 'eyes' |
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,20 @@ | ||
# 问题相似性分析 | ||
name: Issues Similarity Analysis | ||
|
||
on: | ||
issues: | ||
types: [opened, edited] | ||
|
||
jobs: | ||
similarity-analysis: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: analysis | ||
uses: actions-cool/issues-similarity-analysis@v1 | ||
with: | ||
filter-threshold: 0.5 | ||
comment-title: '### 似乎有相似的问题' | ||
comment-body: '${index}. ${similarity} #${number}' | ||
show-footer: false | ||
show-mentioned: true | ||
since-days: 730 |
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,17 @@ | ||
name: Issue Welcome | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
issue-welcome: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: welcome | ||
uses: actions-cool/issues-helper@v3 | ||
with: | ||
actions: 'welcome' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
body: 你好 @${{ github.event.issue.user.login }},我们注意到你是一次创建问题,感谢你的加入!我们非常期待你的想法和贡献。🌟 | ||
issue-emoji: 'eyes' |