Skip to content

Commit 696ad83

Browse files
Copilotpetesramek
andauthored
chore: improve GitHub templates and add missing ones
Agent-Logs-Url: https://github.com/petesramek/polyline-algorithm-csharp/sessions/6457f86b-29ca-4c44-b10e-083861266ea9 Co-authored-by: petesramek <2333452+petesramek@users.noreply.github.com>
1 parent 730c70b commit 696ad83

6 files changed

Lines changed: 73 additions & 21 deletions

File tree

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ''
5-
labels: ''
4+
title: '[Bug]: '
5+
labels: 'bug'
66
assignees: ''
77

88
---
@@ -11,28 +11,22 @@ assignees: ''
1111
A clear and concise description of what the bug is.
1212

1313
**To Reproduce**
14-
Steps to reproduce the behavior:
15-
1. Go to '...'
16-
2. Click on '....'
17-
3. Scroll down to '....'
18-
4. See error
14+
Minimal code snippet that reproduces the issue:
15+
16+
```csharp
17+
// paste reproduction code here
18+
```
1919

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

23-
**Screenshots**
24-
If applicable, add screenshots to help explain your problem.
25-
26-
**Desktop (please complete the following information):**
27-
- OS: [e.g. iOS]
28-
- Browser [e.g. chrome, safari]
29-
- Version [e.g. 22]
23+
**Actual behavior**
24+
A clear and concise description of what actually happens (include exception messages/stack traces if applicable).
3025

31-
**Smartphone (please complete the following information):**
32-
- Device: [e.g. iPhone6]
33-
- OS: [e.g. iOS8.1]
34-
- Browser [e.g. stock browser, safari]
35-
- Version [e.g. 22]
26+
**Environment**
27+
- Package version: [e.g. 2.1.0]
28+
- .NET version: [e.g. net8.0]
29+
- OS: [e.g. Windows 11, Ubuntu 24.04]
3630

3731
**Additional context**
3832
Add any other context about the problem here.

.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: false
2+
contact_links:
3+
- name: Ask a question
4+
url: https://github.com/petesramek/polyline-algorithm-csharp/discussions
5+
about: Use GitHub Discussions for questions, ideas, or general feedback.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ''
5-
labels: ''
4+
title: '[Feature]: '
5+
labels: 'enhancement'
66
assignees: ''
77

88
---

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Summary
2+
3+
<!-- Briefly describe what this PR does and why. -->
4+
5+
## Type of change
6+
7+
- [ ] Bug fix
8+
- [ ] New feature
9+
- [ ] Breaking change
10+
- [ ] Documentation / samples only
11+
12+
## Checklist
13+
14+
- [ ] Unit tests added or updated (`/tests`)
15+
- [ ] Benchmarks added or updated (`/benchmarks`) — if performance-impacting
16+
- [ ] XML doc comments updated for all public API changes
17+
- [ ] `dotnet format` run with no issues
18+
- [ ] README and `/samples` updated — if public API changed

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,23 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "weekly"
7+
labels:
8+
- "dependencies"
9+
assignees:
10+
- "petesramek"
711
- package-ecosystem: "nuget"
812
directory: "/"
913
schedule:
1014
interval: "weekly"
15+
labels:
16+
- "dependencies"
17+
assignees:
18+
- "petesramek"
1119
- package-ecosystem: "github-actions"
1220
directory: "/"
1321
schedule:
1422
interval: "weekly"
23+
labels:
24+
- "dependencies"
25+
assignees:
26+
- "petesramek"

SECURITY.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
| Version | Supported |
6+
| ------- | --------- |
7+
| Latest ||
8+
| Older ||
9+
10+
Only the latest published version receives security fixes. If you are on an older version, please upgrade.
11+
12+
## Reporting a Vulnerability
13+
14+
**Please do not open a public GitHub issue for security vulnerabilities.**
15+
16+
Report security issues privately via [GitHub Security Advisories](https://github.com/petesramek/polyline-algorithm-csharp/security/advisories/new).
17+
18+
Include:
19+
- A description of the vulnerability
20+
- Steps to reproduce or a proof-of-concept
21+
- Potential impact assessment
22+
23+
You can expect an initial response within 5 business days. Once confirmed, a fix will be prioritized and a patch release issued. You will be credited in the release notes unless you prefer to remain anonymous.

0 commit comments

Comments
 (0)