Skip to content

Commit

Permalink
Add default labels to issues (PyCQA#681)
Browse files Browse the repository at this point in the history
GitHub finally supports the ability to automatically default to a label given in the template.  This will save on manually assigning labels from now on.
  • Loading branch information
ericwb authored and mikespallino committed Aug 25, 2021
1 parent 0bc16a8 commit 6b62f30
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 44 deletions.
57 changes: 30 additions & 27 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
---
name: 🐛 Bug report
about: Create a report to help us improve

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Bandit version**
<!--- Paste the output from "bandit --version" between quotes below -->
```
```

**Additional context**
Add any other context about the problem here.
---
name: "\U0001F41B Bug report"
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Bandit version**
<!--- Paste the output from "bandit --version" between quotes below -->
```
```

**Additional context**
Add any other context about the problem here.
37 changes: 20 additions & 17 deletions .github/ISSUE_TEMPLATE/Feature_request.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
---
name: 🚀 Feature request
about: Suggest an idea for this project

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
---
name: "\U0001F680 Feature request"
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.

0 comments on commit 6b62f30

Please sign in to comment.