Skip to content

Commit 0949c62

Browse files
maxritterclaude
andcommitted
fix: add comprehensive GitHub issue templates and workflow automation
Add professional GitHub templates and automation to improve collaboration: Issue Templates: - Add bug report template with environment details and reproduction steps - Add feature request template with structured problem/solution format - Auto-apply labels (bug, enhancement, needs-triage) for better organization Workflow Automation: - Add PR title linting to enforce conventional commit format - Add auto-approve workflow for Dependabot PRs with auto-approve label - Update Dependabot config with auto-approve labels and dependency grouping This improves contributor experience and automates routine maintenance tasks. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 2ab2a24 commit 0949c62

File tree

5 files changed

+153
-0
lines changed

5 files changed

+153
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
name: 🐛 Bug Report
3+
about: Report a bug or unexpected behavior
4+
labels: bug, needs-triage
5+
---
6+
7+
## Current Behavior
8+
9+
<!-- A clear and concise description of the behavior -->
10+
11+
## Steps to Reproduce
12+
13+
<!-- Provide detailed steps to reproduce the issue -->
14+
15+
1. Run installation: `curl -sSL https://raw.githubusercontent.com/maxritter/claude-codepro/main/scripts/install.sh | bash`
16+
2. Configure: `...`
17+
3. Run command: `...`
18+
4. See error
19+
20+
## Expected Behavior
21+
22+
<!-- A clear and concise description of what you expected to happen -->
23+
24+
## Environment
25+
26+
- **OS**: <!-- e.g., macOS 14.5, Ubuntu 22.04, Windows 11 -->
27+
- **Shell**: <!-- e.g., zsh, bash, fish -->
28+
- **Node.js version**: <!-- Run: node --version -->
29+
- **Claude Code version**: <!-- Run: claude --version -->
30+
- **Installation method**: <!-- curl script / manual -->
31+
32+
## Error Output
33+
34+
<!-- Paste any error messages or logs -->
35+
36+
```
37+
Paste error output here
38+
```
39+
40+
## Possible Solution
41+
42+
<!-- Optional: Suggest a fix or reason for the bug -->
43+
44+
## Additional Context
45+
46+
<!-- Add any other context, screenshots, or configuration files -->
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: 🚀 Feature Request
3+
about: Suggest a new feature or enhancement
4+
labels: enhancement, needs-triage
5+
---
6+
7+
## Problem Description
8+
9+
<!-- A clear and concise description of what the problem is -->
10+
<!-- Example: I'm always frustrated when... -->
11+
12+
## Proposed Solution
13+
14+
<!-- A clear and concise description of what you want to happen -->
15+
16+
**Drawbacks:**
17+
<!-- Any potential drawbacks or considerations -->
18+
19+
## Alternative Solutions
20+
21+
<!-- Describe any alternative solutions or features you've considered -->
22+
23+
## Use Case
24+
25+
<!-- How would this feature be used? Who would benefit from it? -->
26+
27+
## Implementation Details
28+
29+
<!-- Optional: Any ideas on how this could be implemented? -->
30+
31+
## Additional Context
32+
33+
<!-- Add any other context, screenshots, or examples about the feature request -->

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ updates:
1414
labels:
1515
- "dependencies"
1616
- "github-actions"
17+
- "auto-approve"
18+
groups:
19+
github-actions:
20+
patterns:
21+
- "*"
1722

1823
# npm dependencies (for Node.js tools)
1924
- package-ecosystem: "npm"
@@ -28,6 +33,11 @@ updates:
2833
labels:
2934
- "dependencies"
3035
- "npm"
36+
- "auto-approve"
37+
groups:
38+
npm-dependencies:
39+
patterns:
40+
- "*"
3141
ignore:
3242
# Ignore major version updates for stability
3343
- dependency-name: "*"

.github/workflows/auto-approve.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: Auto-approve Dependabot PRs
3+
4+
'on':
5+
pull_request_target:
6+
types:
7+
- labeled
8+
- opened
9+
- synchronize
10+
- reopened
11+
- ready_for_review
12+
13+
permissions:
14+
pull-requests: write
15+
16+
jobs:
17+
auto-approve:
18+
name: Auto-approve
19+
runs-on: ubuntu-latest
20+
if: |
21+
github.event.pull_request.user.login == 'dependabot[bot]' &&
22+
contains(github.event.pull_request.labels.*.name, 'auto-approve')
23+
24+
steps:
25+
- name: Auto-approve Dependabot PR
26+
uses: hmarr/auto-approve-action@v4
27+
with:
28+
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pr-lint.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: PR Title Lint
3+
4+
'on':
5+
pull_request_target:
6+
types:
7+
- opened
8+
- edited
9+
- synchronize
10+
- labeled
11+
- unlabeled
12+
13+
jobs:
14+
validate:
15+
name: Validate PR Title
16+
runs-on: ubuntu-latest
17+
if: github.event_name == 'pull_request_target'
18+
19+
steps:
20+
- name: Validate PR title
21+
uses: amannn/action-semantic-pull-request@v5
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
with:
25+
types: |
26+
feat
27+
fix
28+
chore
29+
docs
30+
style
31+
refactor
32+
perf
33+
test
34+
build
35+
ci
36+
requireScope: false

0 commit comments

Comments
 (0)