Skip to content

Commit

Permalink
✨ feat(.github): include .github templates
Browse files Browse the repository at this point in the history
  • Loading branch information
RagnarLothbrok-Odin committed Dec 18, 2023
1 parent 206d0a5 commit f281249
Show file tree
Hide file tree
Showing 5 changed files with 140 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Bug report
description: Create a report to help us improve
title: "[BUG] Short Description"
labels: bug
body:
- type: textarea
attributes:
label: Current Behavior
description: A clear and concise description of what you're experiencing. Do NOT combine multiple bugs into one issue. If you have multiple bugs to report please open separate issues for EACH bug.
validations:
required: true
- type: textarea
attributes:
label: Expected Behavior
description: A clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. Go to ...
2. Click on ...
3. Scroll to ...
4. See error ...
validations:
required: true
- type: textarea
attributes:
label: Screenshots and Additional Info
description: |
Provide any relevant additional information such as screenshots or other details here.
Tip: You can attach images files by clicking this area to highlight it and then dragging files in.
validations:
required: false
- type: checkboxes
attributes:
label: Checklist
description: Before submitting your bug report.
options:
- label: I have made a separate issue for each bug that I am reporting.
required: true
- label: I have searched the issues and this bug has not been reported.
required: true
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Feature request
description: Suggest an idea for this project
title: "[Feature] Short Description"
labels: enhancement
body:
- type: textarea
attributes:
label: Feature description
description: A clear and concise description of what you want to happen. Do NOT combine multiple feature requests into one issue. Open new issues for EACH request.
validations:
required: true
- type: textarea
attributes:
label: Why is this feature needed? Please justify and explain.
description: A clear and concise explanation justifying why this feature is needed. Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
attributes:
label: Screenshots and Additional Info
description: |
Provide any relevant additional information such as screenshots or other details here.
Tip: You can attach images files by clicking this area to highlight it and then dragging files in.
validations:
required: false
- type: checkboxes
attributes:
label: Checklist
description: Before submitting your feature request.
options:
- label: I have made a separate issue for each feature I am requesting.
required: true
- label: I have searched the issues and this feature has not been requested.
required: true
28 changes: 28 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!--- Please provide a general summary of your changes in the title above -->

## Pull request type

<!-- Please try to limit your pull request to one type, submit multiple pull requests if needed. -->

Please check the type of change your PR introduces:

- [ ] Bugfix
- [ ] Feature

## What is the current behavior?

<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->

Issue Number: N/A

## What is the new behavior?

<!-- Please describe the behavior or changes that are being added by this PR. -->

-
-
-

## Other information

<!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
30 changes: 30 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Close stale issues and PRs
'on':
schedule:
- cron: 0 0 * * *
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
days-before-stale: 30
days-before-close: 5
stale-issue-message: >-
This issue has been automatically flagged as stale due to a lack of
recent updates. It will be closed if no further activity is
observed. We appreciate your contributions.
stale-pr-message: >-
This pull request has been automatically flagged as stale due to a
lack of recent updates. It will be closed if no further activity is
observed. We appreciate your contributions.
close-issue-message: >-
This issue has been closed due to inactivity. Please feel free to
reopen if further action is required or additional information is
provided.
close-pr-message: >-
This pull request has been closed due to inactivity. Please feel
free to reopen if further action is required or additional
information is provided.
exempt-issue-labels: in-progress
exempt-pr-labels: in-progress

0 comments on commit f281249

Please sign in to comment.