https://github.com/womb0comb0/git-project-management
https://github.com/womb0comb0/git-project-management
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/womb0comb0/git-project-management
- Owner: WomB0ComB0
- Created: 2024-12-23T05:28:21.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-12-24T09:05:35.000Z (5 months ago)
- Last Synced: 2024-12-30T14:41:46.170Z (5 months ago)
- Language: TypeScript
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# GitHub Project Management Automation
A TypeScript tool to automate GitHub project management using the GitHub API (REST + GraphQL).
## Features
- Creates project boards with GitHub Projects V2
- Generates milestones for project phases
- Creates issues with proper labeling and assignments
- Automatically creates feature branches
- Links issues to project boards
- Handles existing resources gracefully## Prerequisites
- [Bun](https://bun.sh) runtime
- GitHub Personal Access Token with these permissions:
- `repo` (Full control of private repositories)
- `project` (Full control of projects)
- `admin:org` (Full control of orgs and teams)## Setup
1. Clone the repository
2. Create a `.env` file with:
```bash
GITHUB_TOKEN_D=your_github_token
REPO_OWNER=your_username_or_org
REPO_NAME=your_repository_name
```3. Install dependencies:
```bash
bun install
```4. Configure your project plan in `constants.ts`
## Usage
Run the automation:
```bash
bun run index.ts
```## Project Structure
- `index.ts` - Main automation logic
- `constants.ts` - Project plan configuration
- `types.ts` - TypeScript type definitions
- `env.d.ts` - Environment variable types## Error Handling
The tool includes comprehensive error handling for:
- Existing resources
- API rate limits
- Permission issues
- Network errors## License
MIT