Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# CODEOWNERS - Repository ownership
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

# Default owners for everything
* @BerryUIKI

# Documentation
/docs/ @BerryUIKI
/README*.md @BerryUIKI
/CHANGELOG.md @BerryUIKI
/AGENTS.md @BerryUIKI

# Frontend
/apps/desktop/src/ @BerryUIKI
/packages/ @BerryUIKI

# Backend
/apps/desktop/src-tauri/ @BerryUIKI
/crates/ @BerryUIKI

# CI/CD
/.github/ @BerryUIKI
/scripts/ @BerryUIKI

# Database
/apps/desktop/src-tauri/migrations/ @BerryUIKI
/apps/desktop/src-tauri/src/database/ @BerryUIKI

# Security
/apps/desktop/src-tauri/src/security/ @BerryUIKI
/apps/desktop/src-tauri/capabilities/ @BerryUIKI
/SECURITY.md @BerryUIKI

# Plugins
/plugins/ @BerryUIKI

# Build configuration
/package.json @BerryUIKI
/Cargo.toml @BerryUIKI
/pnpm-workspace.yaml @BerryUIKI
/vite.config.ts @BerryUIKI
71 changes: 71 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Dependabot configuration for automated dependency updates
# https://docs.github.com/en/code-security/dependabot

version: 2

updates:
# npm/pnpm dependencies
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "09:00"
timezone: "Asia/Shanghai"
open-pull-requests-limit: 10
commit-message:
prefix: "chore"
include: "scope"
labels:
- "dependencies"
- "frontend"
reviewers:
- BerryUIKI
assignees:
- BerryUIKI
groups:
production-dependencies:
dependency-type: "production"
development-dependencies:
dependency-type: "development"

# Rust dependencies
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "09:00"
timezone: "Asia/Shanghai"
open-pull-requests-limit: 5
commit-message:
prefix: "chore"
include: "scope"
labels:
- "dependencies"
- "rust"
- "backend"
reviewers:
- BerryUIKI
assignees:
- BerryUIKI

# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "09:00"
timezone: "Asia/Shanghai"
open-pull-requests-limit: 5
commit-message:
prefix: "ci"
include: "scope"
labels:
- "dependencies"
- "ci"
reviewers:
- BerryUIKI
assignees:
- BerryUIKI
107 changes: 107 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# Auto-labeler configuration for PRs
# https://github.com/actions/labeler

# Frontend changes
frontend:
- changed-files:
- any-glob-to-any-file:
- 'apps/desktop/src/**/*'
- 'packages/**/*.ts'
- 'packages/**/*.tsx'
- '*.tsx'
- '*.ts'

# Backend changes
backend:
- changed-files:
- any-glob-to-any-file:
- 'apps/desktop/src-tauri/**/*.rs'
- 'crates/**/*.rs'
- 'Cargo.toml'
- 'Cargo.lock'

# Rust specific
rust:
- changed-files:
- any-glob-to-any-file:
- '**/*.rs'
- 'Cargo.toml'
- 'Cargo.lock'

# TypeScript specific
typescript:
- changed-files:
- any-glob-to-any-file:
- '**/*.ts'
- '**/*.tsx'

# Documentation
documentation:
- changed-files:
- any-glob-to-any-file:
- 'docs/**/*.md'
- 'README*.md'
- 'CHANGELOG.md'
- 'CONTRIBUTING.md'
- 'AGENTS.md'

# Database/Schema
database:
- changed-files:
- any-glob-to-any-file:
- 'apps/desktop/src-tauri/migrations/**/*.sql'
- 'apps/desktop/src-tauri/src/database/**/*'

# CI/CD
ci:
- changed-files:
- any-glob-to-any-file:
- '.github/workflows/**/*'
- '.github/labeler.yml'
- 'scripts/*.sh'

# Plugins
plugins:
- changed-files:
- any-glob-to-any-file:
- 'plugins/**/*'

# Tests
tests:
- changed-files:
- any-glob-to-any-file:
- '**/*.test.ts'
- '**/*.test.tsx'
- '**/*.spec.ts'
- '**/*.spec.tsx'
- '**/tests/**/*.rs'

# Security sensitive
security:
- changed-files:
- any-glob-to-any-file:
- 'apps/desktop/src-tauri/src/security/**/*'
- 'apps/desktop/src-tauri/capabilities/**/*'
- '.env.example'

# UI/Styling
ui:
- changed-files:
- any-glob-to-any-file:
- 'apps/desktop/src/styles/**/*'
- 'apps/desktop/src/components/**/*'
- 'tailwind.config.*'
- '**/*.css'

# Configuration
config:
- changed-files:
- any-glob-to-any-file:
- 'package.json'
- 'pnpm-workspace.yaml'
- 'tsconfig*.json'
- 'vite.config.*'
- '.prettierrc'
- '.editorconfig'
- 'eslint.config.*'
- 'vitest.config.*'
Loading
Loading