Skip to content

Commit

Permalink
chore: update issue template and add conversion workflow (#6599)
Browse files Browse the repository at this point in the history
* feat: add doc feedback and conversation workflow

* fix: remove bug tag

* fix: remove feature tag

* chore: chinese docs
  • Loading branch information
yvonneyx authored Dec 4, 2024
1 parent 4f874b2 commit 8223eb4
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: '🐞 Bug report'
description: Create a report to help us improve, Ask questions in Discussions / 创建一个问题报告以帮助我们改进,提问请到 Discussions
title: '[Bug]: '
labels: ['bug']
labels: ['status: waiting for maintainer']
body:
- type: markdown
attributes:
Expand Down
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/docs-feedback.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: 'Docs feedback'
description: Improve documentation about G6 / 助力 G6 打造出更易于上手操作以及便捷查阅的文档
labels: ['status: waiting for maintainer', 'docs-feedback']
title: '[docs] '
body:
- type: input
id: page-url
attributes:
label: Related page
description: Which page of the documentation is this about?
placeholder: https://g6.antv.antgroup.com/
validations:
required: true
- type: dropdown
attributes:
label: Kind of issue
description: What kind of problem are you facing?
options:
- Unclear explanations
- Missing information
- Broken demo
- Other
validations:
required: true
- type: textarea
attributes:
label: Issue description
description: |
Let us know what went wrong when you were using this documentation and what we could do to improve it | 请告知您在使用此文档时遇到的问题以及我们可以改进的地方
- type: textarea
attributes:
label: Context
description: What are you trying to accomplish? Providing context helps us come up with a solution that is more useful in the real world | 您希望实现什么目标?提供上下文有助于我们提出更实用的解决方案
5 changes: 2 additions & 3 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: '💡 Feature Request'
description: I have a suggestion (and may want to implement it) / 我有一个建议(或者想参与贡献)
title: '[Feat]: '
labels: ['feature']
labels: ['status: waiting for maintainer']
body:

- type: textarea
id: description
attributes:
Expand All @@ -19,4 +18,4 @@ body:
- ✅ Yes / 是
- ❌ No / 否
validations:
required: true
required: true
37 changes: 37 additions & 0 deletions .github/workflows/no-response.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: No response

# `issues`.`closed`, `issue_comment`.`created`, and `scheduled` event types are required for this Action
# to work properly.
on:
issues:
types: [closed]
issue_comment:
types: [created]
schedule:
# These runs in our repos are spread evenly throughout the day to avoid hitting rate limits.
# If you change this schedule, consider changing the remaining repositories as well.
# Runs at 12 am, 12 pm
- cron: '0 0,12 * * *'

permissions: {}

jobs:
noResponse:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- uses: MBilalShafi/no-response-add-label@8336c12292902f27b931154c34ba4670cb9899a2
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Number of days of inactivity before an Issue is closed for lack of response
daysUntilClose: 7
# Label requiring a response
responseRequiredLabel: 'status: waiting for author'
# Label to add back when required label is removed
optionalFollowupLabel: 'status: waiting for maintainer'
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the missing information. | 由于该 issue 缺少关键信息且已闲置 7 天,现已自动关闭。如需重新打开此问题,请提供所缺失的信息。。

0 comments on commit 8223eb4

Please sign in to comment.