Skip to content

Commit 12bc5b2

Browse files
authored
Merge pull request #22 from TheCodeVerseHub/yc45
Added Codeowners and Added ISSUE TEMPLATES
2 parents b2e6696 + 95149c7 commit 12bc5b2

7 files changed

Lines changed: 253 additions & 4 deletions

File tree

.github/CODEOWNERS

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# CODEOWNERS
2+
#
3+
# Team slugs are case-insensitive on GitHub but typically use lowercase/hyphens.
4+
# If any team name here doesn't match your actual @TheCodeVerseHub/<team-slug>,
5+
# update the slug accordingly.
6+
#
7+
# Per request: ignoring teams Miku/Web Dev.
8+
9+
# Default owners for everything
10+
* @TheCodeVerseHub/eigen-maintainers @TheCodeVerseHub/security
11+
12+
# Documentation
13+
/docs/ @TheCodeVerseHub/documentation
14+
15+
# Bot feature code
16+
/cogs/ @TheCodeVerseHub/eigen-contributors
17+
18+
# Repo/admin metadata
19+
/.github/ @TheCodeVerseHub/eigen-maintainers
20+
21+
# General ownership (optional extra teams)
22+
# / @TheCodeVerseHub/eigen
23+
# / @TheCodeVerseHub/external-contributors
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
name: Bug report
2+
description: Report something that isn't working
3+
title: "[Bug]: "
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to report a bug.
9+
10+
- type: textarea
11+
id: what-happened
12+
attributes:
13+
label: What happened?
14+
description: A clear and concise description of the bug.
15+
placeholder: Tell us what you saw.
16+
validations:
17+
required: true
18+
19+
- type: textarea
20+
id: steps
21+
attributes:
22+
label: Steps to reproduce
23+
description: How can we reproduce the problem?
24+
placeholder: |
25+
1. Go to ...
26+
2. Run ...
27+
3. See error ...
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: expected
33+
attributes:
34+
label: Expected behavior
35+
description: What did you expect to happen?
36+
validations:
37+
required: true
38+
39+
- type: textarea
40+
id: actual
41+
attributes:
42+
label: Actual behavior
43+
description: What actually happened?
44+
validations:
45+
required: true
46+
47+
- type: textarea
48+
id: logs
49+
attributes:
50+
label: Logs / screenshots
51+
description: Paste any relevant logs or screenshots.
52+
render: shell
53+
validations:
54+
required: false
55+
56+
- type: textarea
57+
id: environment
58+
attributes:
59+
label: Environment
60+
description: Relevant versions and deployment details.
61+
placeholder: |
62+
- OS:
63+
- Python:
64+
- discord.py:
65+
- Bot version/commit:
66+
- Hosting (Docker/VM/etc):
67+
validations:
68+
required: false
69+
70+
- type: checkboxes
71+
id: checks
72+
attributes:
73+
label: Checklist
74+
options:
75+
- label: I searched existing issues before opening this.
76+
required: true
77+
- label: I can reproduce this issue consistently.
78+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: true
2+
contact_links:
3+
- name: Security issue
4+
url: https://github.com/TheCodeVerseHub/Eigen-Bot/security/advisories/new
5+
about: Please report security vulnerabilities privately.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Enhancement
2+
description: Improve an existing feature or behavior
3+
title: "[Enhancement]: "
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Use this for improvements to existing functionality (not brand-new features).
9+
10+
- type: textarea
11+
id: current
12+
attributes:
13+
label: Current behavior
14+
description: What does Eigen-Bot do today?
15+
validations:
16+
required: true
17+
18+
- type: textarea
19+
id: improvement
20+
attributes:
21+
label: Desired improvement
22+
description: What should change?
23+
validations:
24+
required: true
25+
26+
- type: textarea
27+
id: impact
28+
attributes:
29+
label: Impact
30+
description: Why is this improvement valuable? Who benefits?
31+
validations:
32+
required: false
33+
34+
- type: textarea
35+
id: context
36+
attributes:
37+
label: Additional context
38+
description: Links, screenshots, or related issues/PRs.
39+
validations:
40+
required: false
41+
42+
- type: checkboxes
43+
id: checks
44+
attributes:
45+
label: Checklist
46+
options:
47+
- label: I searched existing issues before opening this.
48+
required: true
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Feature request
2+
description: Suggest a new feature or capability
3+
title: "[Feature]: "
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for proposing a feature.
9+
10+
- type: textarea
11+
id: problem
12+
attributes:
13+
label: Problem / use case
14+
description: What problem are you trying to solve?
15+
placeholder: As a ..., I want ..., so that ...
16+
validations:
17+
required: true
18+
19+
- type: textarea
20+
id: proposal
21+
attributes:
22+
label: Proposed solution
23+
description: What would you like to happen?
24+
validations:
25+
required: true
26+
27+
- type: textarea
28+
id: alternatives
29+
attributes:
30+
label: Alternatives considered
31+
description: Other approaches you considered.
32+
validations:
33+
required: false
34+
35+
- type: textarea
36+
id: context
37+
attributes:
38+
label: Additional context
39+
description: Links, screenshots, or related issues/PRs.
40+
validations:
41+
required: false
42+
43+
- type: checkboxes
44+
id: checks
45+
attributes:
46+
label: Checklist
47+
options:
48+
- label: I searched existing issues before opening this.
49+
required: true
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Question
2+
description: Ask a question about setup, usage, or behavior
3+
title: "[Question]: "
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Have a question? Ask here.
9+
10+
- type: textarea
11+
id: question
12+
attributes:
13+
label: Your question
14+
description: What would you like to know?
15+
validations:
16+
required: true
17+
18+
- type: textarea
19+
id: context
20+
attributes:
21+
label: Context
22+
description: What are you trying to do, and what have you tried?
23+
validations:
24+
required: false
25+
26+
- type: textarea
27+
id: logs
28+
attributes:
29+
label: Logs / screenshots (optional)
30+
description: Paste any relevant output.
31+
render: shell
32+
validations:
33+
required: false
34+
35+
- type: checkboxes
36+
id: checks
37+
attributes:
38+
label: Checklist
39+
options:
40+
- label: I searched existing issues before opening this.
41+
required: true

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Set up Python
16-
uses: actions/setup-python@v4
16+
uses: actions/setup-python@v5
1717
with:
1818
python-version: '3.11'
19+
cache: 'pip'
1920
- name: Install dependencies
2021
run: |
2122
python -m pip install --upgrade pip
@@ -27,5 +28,9 @@ jobs:
2728
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
2829
- name: Test with pytest
2930
run: |
30-
pip install pytest pytest-asyncio
31-
pytest
31+
python -m pip install pytest pytest-asyncio
32+
if find . -type f \( -name "test_*.py" -o -name "*_test.py" \) | grep -q .; then
33+
pytest
34+
else
35+
echo "No tests found; skipping pytest."
36+
fi

0 commit comments

Comments
 (0)