Skip to content

Latest commit

Β 

History

History
74 lines (51 loc) Β· 2.04 KB

File metadata and controls

74 lines (51 loc) Β· 2.04 KB

DotGitHub

A powerful TypeScript framework for managing GitHub Actions workflows and configurations. DotGitHub provides a type-safe, construct-based approach to generating and managing GitHub Actions, making it easier to maintain complex CI/CD pipelines.

Features

  • πŸš€ Type-Safe Actions: Generate TypeScript wrappers for GitHub Actions with full type safety
  • πŸ”Œ Construct System: Extensible construct architecture for custom workflow generation
  • πŸ“¦ Action Management: Automatically download and manage GitHub Actions with version pinning
  • πŸ—οΈ Workflow Synthesis: Generate complete GitHub workflows from TypeScript code
  • 🎯 Configuration-Driven: Declarative configuration for actions, plugins, and stacks
  • πŸ”„ Auto-Generation: Automatically generate action types and workflow files

Quick Start

Installation

# Install globally
npm install -g @dotgithub/cli

# Or use with npx
npx @dotgithub/cli

Initialize a Project

# Initialize a new DotGitHub project
dotgithub init

# Or specify a custom directory
dotgithub init --output ./my-workflows

Add GitHub Actions

# Add a specific action
dotgithub add actions/checkout@v4

# Add multiple actions
dotgithub add actions/setup-node@v4 actions/setup-python@v5

Generate Workflows

# Synthesize workflows from your TypeScript code
dotgithub synth

Basic Usage

  1. Initialize your project with dotgithub init
  2. Configure actions in dotgithub.json
  3. Write your workflow logic in TypeScript
  4. Synthesize workflows with dotgithub synth

Documentation

Contributing

We welcome contributions! Please see our Contributing Guide for details on how to get started.

License

MIT License - see LICENSE file for details.