Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

Commit ee99612

Browse files
Copilothuangyiirene
andcommitted
Add comprehensive GitHub workflows and configurations
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
1 parent 3766150 commit ee99612

13 files changed

Lines changed: 668 additions & 0 deletions
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: 🐛 Bug Report
3+
about: Report a bug or unexpected behavior
4+
title: '[Bug]: '
5+
labels: ['bug', 'needs-triage']
6+
assignees: []
7+
---
8+
9+
## Bug Description
10+
<!-- A clear and concise description of the bug -->
11+
12+
## Steps to Reproduce
13+
1.
14+
2.
15+
3.
16+
17+
## Expected Behavior
18+
<!-- What you expected to happen -->
19+
20+
## Actual Behavior
21+
<!-- What actually happened -->
22+
23+
## Environment
24+
- **Object UI Version**: <!-- e.g., 0.1.0 -->
25+
- **React Version**: <!-- e.g., 18.3.1 -->
26+
- **Node Version**: <!-- e.g., 20.x -->
27+
- **Browser**: <!-- e.g., Chrome 120 -->
28+
- **OS**: <!-- e.g., macOS 14.0 -->
29+
30+
## Reproduction
31+
<!-- If possible, provide a minimal reproduction -->
32+
<!-- You can use CodeSandbox, StackBlitz, or a GitHub repo -->
33+
34+
## Additional Context
35+
<!-- Add any other context about the problem here -->
36+
<!-- Screenshots are helpful! -->
37+
38+
## Possible Solution
39+
<!-- Optional: Suggest a fix or reason for the bug -->

‎.github/ISSUE_TEMPLATE/config.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 💬 Discord Community
4+
url: https://discord.gg/objectstack
5+
about: Join our Discord community for questions and discussions
6+
- name: 📖 Documentation
7+
url: https://www.objectui.org
8+
about: Check our documentation for guides and API references
9+
- name: 💡 Feature Request
10+
url: https://github.com/objectstack-ai/objectui/discussions/categories/ideas
11+
about: Share your ideas and feature requests in discussions
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: ✨ Feature Request
3+
about: Suggest a new feature or enhancement
4+
title: '[Feature]: '
5+
labels: ['enhancement', 'needs-triage']
6+
assignees: []
7+
---
8+
9+
## Feature Description
10+
<!-- A clear and concise description of the feature you'd like -->
11+
12+
## Problem Statement
13+
<!-- What problem does this feature solve? -->
14+
<!-- Example: "I'm always frustrated when..." -->
15+
16+
## Proposed Solution
17+
<!-- Describe how you envision this feature working -->
18+
19+
## Alternative Solutions
20+
<!-- Any alternative solutions or features you've considered -->
21+
22+
## Use Cases
23+
<!-- Provide specific use cases where this feature would be helpful -->
24+
25+
## Additional Context
26+
<!-- Add any other context, mockups, or examples about the feature request -->
27+
28+
## Would you be willing to contribute?
29+
<!-- Let us know if you'd like to help implement this feature -->
30+
- [ ] Yes, I'm willing to contribute
31+
- [ ] No, but I'd like to help test it
32+
- [ ] No, but I'd love to see it implemented

‎.github/PULL_REQUEST_TEMPLATE.md‎

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
## Description
2+
<!-- Provide a brief description of the changes in this PR -->
3+
4+
## Type of Change
5+
<!-- Mark the relevant option with an "x" -->
6+
7+
- [ ] 🐛 Bug fix (non-breaking change which fixes an issue)
8+
- [ ] ✨ New feature (non-breaking change which adds functionality)
9+
- [ ] 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
10+
- [ ] 📝 Documentation update
11+
- [ ] 🎨 Style/UI update (no functional changes)
12+
- [ ] ♻️ Refactoring (no functional changes)
13+
- [ ] ⚡ Performance improvement
14+
- [ ] ✅ Test update
15+
- [ ] 🔧 Build/configuration change
16+
- [ ] 🔒 Security fix
17+
18+
## Related Issues
19+
<!-- Link related issues here using #issue_number -->
20+
21+
Closes #
22+
Related to #
23+
24+
## Changes Made
25+
<!-- List the main changes made in this PR -->
26+
27+
-
28+
-
29+
-
30+
31+
## Screenshots (if applicable)
32+
<!-- Add screenshots to help explain your changes -->
33+
34+
## Testing
35+
<!-- Describe the tests you ran and how to reproduce them -->
36+
37+
### Test Environment
38+
- **Node Version**:
39+
- **pnpm Version**:
40+
- **OS**:
41+
42+
### Test Steps
43+
1.
44+
2.
45+
3.
46+
47+
## Checklist
48+
<!-- Mark completed items with an "x" -->
49+
50+
- [ ] My code follows the project's code style
51+
- [ ] I have performed a self-review of my code
52+
- [ ] I have commented my code, particularly in hard-to-understand areas
53+
- [ ] I have made corresponding changes to the documentation
54+
- [ ] My changes generate no new warnings
55+
- [ ] I have added tests that prove my fix is effective or that my feature works
56+
- [ ] New and existing unit tests pass locally with my changes
57+
- [ ] Any dependent changes have been merged and published
58+
59+
## Breaking Changes
60+
<!-- If this PR introduces breaking changes, describe them here -->
61+
62+
None
63+
64+
## Migration Guide
65+
<!-- If applicable, provide a migration guide for breaking changes -->
66+
67+
N/A
68+
69+
## Additional Notes
70+
<!-- Add any additional notes or context about the PR -->

‎.github/dependabot.yml‎

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
version: 2
2+
updates:
3+
# Enable version updates for npm
4+
- package-ecosystem: "npm"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
day: "monday"
9+
open-pull-requests-limit: 10
10+
labels:
11+
- "dependencies"
12+
- "automated"
13+
commit-message:
14+
prefix: "chore"
15+
include: "scope"
16+
groups:
17+
# Group all patch updates together
18+
patch-updates:
19+
patterns:
20+
- "*"
21+
update-types:
22+
- "patch"
23+
# Group dev dependencies
24+
dev-dependencies:
25+
dependency-type: "development"
26+
update-types:
27+
- "minor"
28+
- "patch"
29+
# Group React ecosystem updates
30+
react:
31+
patterns:
32+
- "react*"
33+
- "@types/react*"
34+
update-types:
35+
- "minor"
36+
- "patch"
37+
# Group testing libraries
38+
testing:
39+
patterns:
40+
- "*testing*"
41+
- "vitest*"
42+
- "@vitest*"
43+
update-types:
44+
- "minor"
45+
- "patch"
46+
47+
# Enable version updates for GitHub Actions
48+
- package-ecosystem: "github-actions"
49+
directory: "/"
50+
schedule:
51+
interval: "weekly"
52+
day: "monday"
53+
labels:
54+
- "dependencies"
55+
- "github-actions"
56+
- "automated"
57+
commit-message:
58+
prefix: "chore"
59+
include: "scope"

‎.github/labeler.yml‎

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# Configuration for pull-requests labeler
2+
# https://github.com/actions/labeler
3+
4+
# Core packages
5+
'package: core':
6+
- changed-files:
7+
- any-glob-to-any-file: 'packages/core/**/*'
8+
9+
'package: types':
10+
- changed-files:
11+
- any-glob-to-any-file: 'packages/types/**/*'
12+
13+
'package: react':
14+
- changed-files:
15+
- any-glob-to-any-file: 'packages/react/**/*'
16+
17+
'package: components':
18+
- changed-files:
19+
- any-glob-to-any-file: 'packages/components/**/*'
20+
21+
# Plugins
22+
'plugin':
23+
- changed-files:
24+
- any-glob-to-any-file: 'packages/plugin-*/**/*'
25+
26+
'plugin: charts':
27+
- changed-files:
28+
- any-glob-to-any-file: 'packages/plugin-charts/**/*'
29+
30+
'plugin: editor':
31+
- changed-files:
32+
- any-glob-to-any-file: 'packages/plugin-editor/**/*'
33+
34+
'plugin: kanban':
35+
- changed-files:
36+
- any-glob-to-any-file: 'packages/plugin-kanban/**/*'
37+
38+
'plugin: markdown':
39+
- changed-files:
40+
- any-glob-to-any-file: 'packages/plugin-markdown/**/*'
41+
42+
# Data adapters
43+
'data-adapter':
44+
- changed-files:
45+
- any-glob-to-any-file: 'packages/data-*/**/*'
46+
47+
# Designer
48+
'designer':
49+
- changed-files:
50+
- any-glob-to-any-file: 'packages/designer/**/*'
51+
52+
# Documentation
53+
'documentation':
54+
- changed-files:
55+
- any-glob-to-any-file:
56+
- 'docs/**/*'
57+
- '*.md'
58+
- 'packages/**/README.md'
59+
60+
# Tests
61+
'tests':
62+
- changed-files:
63+
- any-glob-to-any-file:
64+
- '**/*.test.ts'
65+
- '**/*.test.tsx'
66+
- '**/*.spec.ts'
67+
- '**/*.spec.tsx'
68+
- '**/test/**/*'
69+
- '**/tests/**/*'
70+
- '**/__tests__/**/*'
71+
72+
# Configuration
73+
'configuration':
74+
- changed-files:
75+
- any-glob-to-any-file:
76+
- '*.config.*'
77+
- '.*rc'
78+
- '.*rc.*'
79+
- '.github/**/*'
80+
- 'tsconfig*.json'
81+
- 'package.json'
82+
- 'pnpm-workspace.yaml'
83+
84+
# Dependencies
85+
'dependencies':
86+
- changed-files:
87+
- any-glob-to-any-file:
88+
- 'package.json'
89+
- 'pnpm-lock.yaml'
90+
- '**/package.json'
91+
92+
# Examples
93+
'examples':
94+
- changed-files:
95+
- any-glob-to-any-file: 'examples/**/*'
96+
97+
# Applications
98+
'apps':
99+
- changed-files:
100+
- any-glob-to-any-file: 'apps/**/*'
101+
102+
# CI/CD
103+
'ci/cd':
104+
- changed-files:
105+
- any-glob-to-any-file: '.github/workflows/**/*'
106+
107+
# Breaking changes (when certain files are modified)
108+
'breaking-change':
109+
- changed-files:
110+
- any-glob-to-any-file:
111+
- 'packages/types/src/schema/**/*'
112+
- 'packages/core/src/public-api.ts'

‎.github/workflows/changelog.yml‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Auto Changelog
2+
3+
on:
4+
release:
5+
types: [published]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
pull-requests: read
11+
12+
jobs:
13+
changelog:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Generate changelog
22+
uses: orhun/git-cliff-action@v4
23+
id: changelog
24+
with:
25+
config: cliff.toml
26+
args: --verbose --latest
27+
env:
28+
OUTPUT: CHANGELOG.md
29+
30+
- name: Commit changelog
31+
run: |
32+
git config --local user.email "github-actions[bot]@users.noreply.github.com"
33+
git config --local user.name "github-actions[bot]"
34+
git add CHANGELOG.md
35+
git commit -m "docs: update CHANGELOG.md for ${{ github.event.release.tag_name }}" || echo "No changes to commit"
36+
git push

0 commit comments

Comments
 (0)