Skip to content

Commit

Permalink
feat: .github
Browse files Browse the repository at this point in the history
* template
* stale
  • Loading branch information
monologg committed Oct 20, 2021
1 parent 7833778 commit f05d722
Show file tree
Hide file tree
Showing 6 changed files with 117 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/.stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
name: πŸ› Bug report
about: If something isn't working πŸ”§
title: ""
labels: bug
assignees:
---

## πŸ› Bug Report

<!-- A clear and concise description of what the bug is. -->

## πŸ”¬ How To Reproduce

Steps to reproduce the behavior:

1. ...

### Code sample

<!-- If applicable, attach a minimal code sample to reproduce the decried issue. -->

### Environment

- OS: [e.g. Linux / Windows / macOS]
- Python version, get it with:

```bash
python --version
```

### Screenshots

<!-- If applicable, add screenshots to help explain your problem. -->

## πŸ“ˆ Expected behavior

<!-- A clear and concise description of what you expected to happen. -->

## πŸ“Ž Additional context

<!-- Add any other context about the problem here. -->
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Configuration: https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository

blank_issues_enabled: false
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: πŸš€ Feature request
about: Suggest an idea for this project πŸ–
title: ""
labels: enhancement
assignees:
---

## πŸš€ Feature Request

<!-- A clear and concise description of the feature proposal. -->

## πŸ”ˆ Motivation

<!-- Please describe the motivation for this proposal. -->

## πŸ›° Alternatives

<!-- 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. -->
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: ❓ Question
about: Ask a question about this project πŸŽ“
title: ""
labels: question
assignees:
---

## Checklist

<!-- Mark with an `x` all the checkboxes that apply (like `[x]`) -->

- [ ] I've searched the project's [`issues`]

## ❓ Question

<!-- What is your question -->

How can I [...]?

Is it possible to [...]?

## πŸ“Ž Additional context

<!-- Add any other context or screenshots about the feature request here. -->
7 changes: 7 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Description

<!-- Add a more detailed description of the changes if needed. -->

## Related Issue

<!-- If your PR refers to a related issue, link it here. -->

0 comments on commit f05d722

Please sign in to comment.