-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update issue template and add conversion workflow (#6599)
* feat: add doc feedback and conversation workflow * fix: remove bug tag * fix: remove feature tag * chore: chinese docs
- Loading branch information
Showing
4 changed files
with
73 additions
and
4 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
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 | 您希望实现什么目标?提供上下文有助于我们提出更实用的解决方案 |
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: 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 天,现已自动关闭。如需重新打开此问题,请提供所缺失的信息。。 | ||