Skip to content

Commit aa8f941

Browse files
feat(PR Templates): Add new pull request templates for bug fixes, features, documentation, and new modules
1 parent 872b8a1 commit aa8f941

File tree

5 files changed

+99
-0
lines changed

5 files changed

+99
-0
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## Choose a PR Template
2+
3+
Please select the appropriate PR template for your contribution:
4+
5+
- 🆕 [New Module](?template=new_module.md) - Adding a new module to the registry
6+
- 🐛 [Bug Fix](?template=bug_fix.md) - Fixing an existing issue
7+
-[Feature](?template=feature.md) - Adding new functionality to a module
8+
- 📝 [Documentation](?template=documentation.md) - Improving docs only
9+
10+
---
11+
12+
If you've already started your PR, add `?template=TEMPLATE_NAME.md` to your URL.
13+
14+
### Quick Checklist
15+
- [ ] Tests pass (`bun test`)
16+
- [ ] Code formatted (`bun run fmt`)
17+
- [ ] Following contribution guidelines
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Bug Fix: [Brief Description]
2+
3+
**Module:** `registry/[namespace]/modules/[module-name]`
4+
**Version:** `v1.2.3``v1.2.4`
5+
6+
### Problem
7+
<!-- What was broken? -->
8+
9+
### Solution
10+
<!-- How did you fix it? -->
11+
12+
### Testing
13+
- [ ] Tests pass (`bun test`)
14+
- [ ] Code formatted (`bun run fmt`)
15+
- [ ] Fix verified locally
16+
17+
### Related Issue
18+
<!-- Link to issue if applicable -->
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Documentation Update
2+
3+
### Description
4+
<!-- What documentation did you improve? -->
5+
6+
### Changes
7+
<!-- What specific changes were made? -->
8+
-
9+
-
10+
11+
### Checklist
12+
- [ ] README validation passes (if applicable)
13+
- [ ] Code examples tested
14+
- [ ] Links verified
15+
- [ ] Formatting consistent
16+
17+
### Context
18+
<!-- Why were these changes needed? -->
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## Feature: [Brief Description]
2+
3+
**Module:** `registry/[namespace]/modules/[module-name]`
4+
**Version:** `v1.2.3``v1.3.0` (or `v2.0.0` for breaking changes)
5+
6+
### Description
7+
<!-- What does this feature add? -->
8+
9+
### Changes
10+
<!-- List key changes -->
11+
-
12+
-
13+
14+
### Breaking Changes
15+
<!-- List any breaking changes (if major version bump) -->
16+
- None / *Remove if not applicable*
17+
18+
### Testing
19+
- [ ] Tests pass (`bun test`)
20+
- [ ] Code formatted (`bun run fmt`)
21+
- [ ] New tests added for feature
22+
- [ ] Backward compatibility maintained
23+
24+
### Documentation
25+
<!-- Did you update the README? -->
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## New Module: [Module Name]
2+
3+
**Module Path:** `registry/[namespace]/modules/[module-name]`
4+
**Initial Version:** `v1.0.0`
5+
6+
### Description
7+
<!-- Brief description of what this module does -->
8+
9+
### Checklist
10+
- [ ] All required files included (`main.tf`, `main.test.ts`, `README.md`)
11+
- [ ] Tests pass (`bun test`)
12+
- [ ] Code formatted (`bun run fmt`)
13+
- [ ] README has proper frontmatter
14+
- [ ] Icon path is valid
15+
- [ ] Namespace has avatar (if first-time contributor)
16+
17+
### Testing
18+
<!-- How did you test this module? -->
19+
20+
### Additional Notes
21+
<!-- Any special setup or dependencies? -->

0 commit comments

Comments
 (0)