From 58508eac2887d7ef617ae2c5acc5e8215c3ab50e Mon Sep 17 00:00:00 2001 From: Jinke Li Date: Fri, 27 Oct 2023 15:40:26 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=B8=8D=E6=8C=89=20issue=20=E6=A8=A1?= =?UTF-8?q?=E7=89=88=E6=8F=90=E4=BA=A4=E8=87=AA=E5=8A=A8=E5=85=B3=E9=97=AD?= =?UTF-8?q?=20(#2393)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/bug-report.md | 2 +- .github/ISSUE_TEMPLATE/feature-request.md | 33 +++++++++++++++++++++++ .github/workflows/issue-labeled.yml | 2 +- .github/workflows/issue-opend.yml | 6 ++--- 4 files changed, 38 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md index 14a0fcaa81..916dadda53 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -49,7 +49,7 @@ eg. - + ### 🔗 Reproduce Link diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md index bc72b546fd..518d3e947a 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.md +++ b/.github/ISSUE_TEMPLATE/feature-request.md @@ -8,6 +8,39 @@ labels: 🙏feature request +### 🏷 Version + + + + + + +| Package | Version | +| -------------- | ------- | +| @antv/s2 | | +| @antv/s2-react | | +| @antv/s2-vue | | + +### Sheet Type + + + + +- [ ] PivotSheet +- [ ] TableSheet +- [ ] GridAnalysisSheet +- [ ] StrategySheet +- [ ] EditableSheet + ### 🖋 Description diff --git a/.github/workflows/issue-labeled.yml b/.github/workflows/issue-labeled.yml index 4eb12f78cc..b345097204 100644 --- a/.github/workflows/issue-labeled.yml +++ b/.github/workflows/issue-labeled.yml @@ -105,7 +105,7 @@ jobs: body: | 你好 @${{ github.event.issue.user.login }},经过我们的反复讨论, 你的需求现已被采纳, 我们会排期开发, 但人力资源有限, 短期内无法支持, 请关注后续发布日志。当然, 如果能贡献 PR 帮助我们改进, 不胜感激! - Hello, @${{ github.vent.issue.user.login }}, your feature request has been accepted after our repeated discussion. We will schedule the development. However, it could not be supported in the short term since limited time, please pay attention to the follow-up release logs. Of course, looking forward for your PR! + Hello, @${{ github.event.issue.user.login }}, your feature request has been accepted after our repeated discussion. We will schedule the development. However, it could not be supported in the short term since limited time, please pay attention to the follow-up release logs. Of course, looking forward for your PR! - name: Rejected if: github.event.label.name == '❌ won''t support' diff --git a/.github/workflows/issue-opend.yml b/.github/workflows/issue-opend.yml index 1cfb08c64c..ec973f8af4 100644 --- a/.github/workflows/issue-opend.yml +++ b/.github/workflows/issue-opend.yml @@ -20,9 +20,9 @@ jobs: Hello, @${{ github.event.issue.user.login }}, please edit your issue title. a concise issue title will save everyone time. please do not leave the title as the body or empty. - # 如果是 bug 的 issue, 但是基本的版本号,表格类型, 描述都没有, 直接关闭, 不多BB. - - name: check bug report issue body - if: contains(github.event.issue.title, '🐛') == true && contains(github.event.issue.body, 'Version') == false && contains(github.event.issue.body, 'Sheet Type') == false && contains(github.event.issue.body, 'Description') == false + # 如果 issue 的提交者无视模版, 连基本的版本号,表格类型, 描述都没有, 直接自动关闭, 不多BB. + - name: check issue body + if: contains(github.event.issue.body, 'Version') == false && contains(github.event.issue.body, 'Sheet Type') == false && contains(github.event.issue.body, 'Description') == false uses: actions-cool/issues-helper@main with: actions: 'create-comment,add-labels,close-issue'