Skip to content

Commit 536bb40

Browse files
chen201724babydog-ai
andauthored
chore: add issue/PR templates and changelog setup (#56)
- Add bug report issue template (YAML form) with Affected Area dropdown - Add issue template config to disable blank issues and redirect to Discussions - Add PR template with type of change, affected area, and checklist - Install conventional-changelog-cli and add changelog script - Create initial CHANGELOG.md Co-authored-by: babydog-ai <willchen.babydog@gmail.com>
1 parent 762bac5 commit 536bb40

6 files changed

Lines changed: 4117 additions & 1 deletion

File tree

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: Bug Report
2+
description: Report a bug in yuque-ecosystem
3+
labels: ["bug"]
4+
body:
5+
- type: dropdown
6+
id: area
7+
attributes:
8+
label: Affected Area
9+
description: Which part of the ecosystem is affected?
10+
options:
11+
- Website
12+
- Claude Code Plugin
13+
- OpenClaw Plugin
14+
- Shared
15+
- Other
16+
validations:
17+
required: true
18+
19+
- type: input
20+
id: version
21+
attributes:
22+
label: Version
23+
description: What version are you using?
24+
placeholder: e.g. 1.0.0
25+
validations:
26+
required: true
27+
28+
- type: textarea
29+
id: reproduction
30+
attributes:
31+
label: Steps to Reproduce
32+
description: Provide a clear set of steps to reproduce the bug.
33+
placeholder: |
34+
1. Go to '...'
35+
2. Click on '...'
36+
3. See error
37+
validations:
38+
required: true
39+
40+
- type: textarea
41+
id: expected
42+
attributes:
43+
label: Expected Behavior
44+
description: What did you expect to happen?
45+
validations:
46+
required: true
47+
48+
- type: textarea
49+
id: actual
50+
attributes:
51+
label: Actual Behavior
52+
description: What actually happened?
53+
validations:
54+
required: true
55+
56+
- type: textarea
57+
id: environment
58+
attributes:
59+
label: Environment
60+
description: |
61+
Any relevant environment info (OS, browser, Node.js version, etc.)
62+
placeholder: |
63+
- OS: macOS 15.0
64+
- Browser: Chrome 130
65+
- Node.js: 22.0.0
66+
validations:
67+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Questions
4+
url: https://github.com/yuque/yuque-ecosystem/discussions/categories/q-a
5+
about: Ask questions and get help from the community.
6+
- name: Feature Requests
7+
url: https://github.com/yuque/yuque-ecosystem/discussions/categories/ideas
8+
about: Suggest new features or improvements.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
## What does this PR do?
2+
3+
<!-- A brief description of the changes. -->
4+
5+
## Related Issues
6+
7+
<!-- Link related issues: fixes #xxx, closes #xxx -->
8+
9+
## Type of Change
10+
11+
- [ ] Bug fix
12+
- [ ] New feature
13+
- [ ] Documentation update
14+
- [ ] Refactor
15+
- [ ] Performance improvement
16+
17+
## Affected Area
18+
19+
- [ ] Website
20+
- [ ] Claude Code Plugin
21+
- [ ] OpenClaw Plugin
22+
- [ ] Shared
23+
24+
## Checklist
25+
26+
- [ ] I have tested my changes locally
27+
- [ ] I have updated relevant documentation
28+
- [ ] My changes do not introduce breaking changes
29+
- [ ] I have added a changelog entry below (if applicable)
30+
31+
## Changelog Entry
32+
33+
<!-- If applicable, describe the change for the changelog. -->
34+
<!-- Example: fix(website): resolve navigation issue on mobile -->

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
This changelog is automatically generated based on [Conventional Commits](https://www.conventionalcommits.org/).

0 commit comments

Comments
 (0)