How resnovas/smartcloud works
Main System Components
a) Core Action Components:
• Action Entry Point (action.yml, src/index.ts)
• Context Handlers (src/contexts/)
• Condition Evaluators (src/conditions/)
• Utility Services (src/utils/)
b) External Integrations:
• GitHub API Interface
• GitHub Events System
• Project Configuration System
┌─────────────────────────────────────────────┐
• GitHub Events │
• (Issues, PRs, Project Cards, Schedule) │
• ┘
• ↓
┌─────────────────────────────────────────────┐
• Action Entry Point │
• (Configuration Loading & Routing) │
• ┘
• ↓
┌─────────────────────────────────────────────┐
• Context Handlers │
• ┬─────────────┬────────────────┤
• Issues │ PRs │ Projects │
• ┴─────────────┴────────────────┘
• ↓
┌─────────────────────────────────────────────┐
• Condition System │
• ┬─────────────┬────────────────┤
• Labels │ Workflow │ Automation │
• ┴─────────────┴────────────────┘
• ↓
┌─────────────────────────────────────────────┐
• Action Methods │
• ┬─────────────┬────────────────┤
• Labels │ Projects │ Releases │
• ┴─────────────┴────────────────┘
• ↓
┌─────────────────────────────────────────────┐
• GitHub API │
• ┘
Component Details
For each major component, include:
a) Context Handlers:
• Issues Context
• Pull Requests Context
• Projects Context
• Schedule Context
b) Condition System:
• Branch Conditions
• Status Conditions
• Project Conditions
c) Action Methods:
• Project Assignment
• Release Management
• Branch Creation
• Milestone Management
Data Flow Indicators
• Event triggers (→)
• Data processing flow (⇢)
• API calls (⇄)
• Configuration loading (⇣)
Important Notes
• Configuration file interaction points
• Error handling paths
• Deprecated features (as mentioned in README)
• Integration points with external services