Skip to content

Commit

Permalink
.github: refine issue template and issue assign action (pingcap#15451)
Browse files Browse the repository at this point in the history
  • Loading branch information
zz-jason authored Mar 19, 2020
1 parent 962105b commit 3235d82
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 22 deletions.
17 changes: 6 additions & 11 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
---
name: "\U0001F41B Bug Report"
about: Something isn't working as expected
about: As a User, I want to report a Bug.
labels: type/bug
---

## Bug Report

Please answer these questions before submitting your issue. Thanks!

1. What did you do?
<!--If possible, provide a recipe for reproducing the error.-->
### 1. What did you do?

<!-- If possible, provide a recipe for reproducing the error. -->

2. What did you expect to see?
### 2. What did you expect to see?

### 3. What did you see instead?


3. What did you see instead?



4. What version of TiDB are you using (`tidb-server -V` or run `select tidb_version();` on TiDB)?

### 4. What version of TiDB are you using? (`tidb-server -V` or run `select tidb_version();` on TiDB)
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/challenge-program.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: "\U0001F947 Challenge Program"
about: Challenge Program issues
name: "\U0001F947 Propose a Challenge Program task"
about: As a developer, I want to propose a Challenge Program task.
labels: challenge-program-2
---

Expand Down
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/development-task.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
name: "\U0001F680 Development Task"
about: As a TiDB developer, I want to record a development task.
labels: type/enhancement
---

## Development Task
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: "\U0001F680 Feature Request"
about: I have a suggestion
labels: type/enhancement
about: As a user, I want to request a New Feature on the product.
labels: type/feature-request
---

## Feature Request
Expand All @@ -16,4 +16,4 @@ labels: type/enhancement
<!-- A clear and concise description of any alternative solutions or features you've considered. -->

**Teachability, Documentation, Adoption, Migration Strategy:**
<!-- If you can, explain some scenarios how users might use this, situations it would be helpful in. Any API designs, mockups, or diagrams are also helpful. -->
<!-- If you can, explain some scenarios how users might use this, situations it would be helpful in. Any API designs, mockups, or diagrams are also helpful. -->
9 changes: 6 additions & 3 deletions .github/ISSUE_TEMPLATE/general-question.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
---
name: "\U0001F914 General Question"
about: Usage question that isn't answered in docs or discussion
labels: question
name: "\U0001F914 Ask a Question"
about: I want to ask a question.
labels: type/question
---

## General Question

<!--
Before asking a question, make sure you have:
- Searched existing Stack Overflow questions.
Expand All @@ -15,3 +17,4 @@ Before asking a question, make sure you have:
- [TiDB Readme](https://github.com/pingcap/tidb)
- [TiDB Doc](https://github.com/pingcap/docs)
-->
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/performance-questions.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: "\U0001F947 Performance Questions"
about: Performance question about TiDB which is not caused by bug.
labels: question, type/performance
name: "\U0001F947 Ask a Database Performance Question"
about: I want to ask a database performance question.
labels: type/question, type/performance
---

## Performance Questions
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/assign_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,18 @@ jobs:
with:
project: 'https://github.com/pingcap/tidb/projects/39'
column_name: 'Issue Backlog: Need Triage'
- name: Run issues assignment to Question and Bug Reports Kanban
uses: srggrs/[email protected]
if: |
contains(github.event.issue.labels.*.name, 'type/question') ||
contains(github.event.issue.labels.*.name, 'type/bug')
with:
project: 'https://github.com/pingcap/tidb/projects/36'
column_name: 'Need Triage'
- name: Run issues assignment to Feature Request Kanban
uses: srggrs/[email protected]
if: |
contains(github.event.issue.labels.*.name, 'type/feature-request')
with:
project: 'https://github.com/pingcap/tidb/projects/41'
column_name: 'Need Triage'

0 comments on commit 3235d82

Please sign in to comment.