This directory contains GitHub Actions workflows for automating project management.
To enable the project automation workflows, you need to:
Set up the project URL as a repository variable for portability:
- Go to repository Settings → Secrets and variables → Actions → Variables tab
- Click "New repository variable"
- Name:
PROJECT_URL - Value:
https://github.com/users/YOUR_USERNAME/projects/YOUR_PROJECT_NUMBER - Click "Add variable"
Note: If no repository variable is set, workflows will default to https://github.com/users/jaodsilv/projects/3
Create a Personal Access Token (PAT) with the following permissions:
- Go to GitHub Settings → Developer settings → Personal access tokens → Fine-grained tokens
- Click "Generate new token"
- Select the repository:
jaodsilv/chosen - Set expiration as needed
- Grant the following permissions:
- Issues: Read and write
- Pull requests: Read and write
- Projects: Write
- Metadata: Read
- Go to repository Settings → Secrets and variables → Actions → Secrets tab
- Click "New repository secret"
- Name:
ADD_TO_PROJECT_PAT - Value: Your generated PAT token
- Click "Add secret"
- Triggers: When issues are opened or labeled
- Function: Automatically adds issues with specific labels to Project 3
- Labels that trigger:
enhancement,feature,bug - Additional: Sets priority and phase fields based on labels
- Triggers: When pull requests are opened or labeled
- Function: Automatically adds PRs to Project 3 and sets status to "In Progress"
- Labels that trigger:
enhancement,feature,bug,hotfix
- Triggers: When issues/PRs are closed, merged, or reopened
- Function: Updates project status fields automatically
- Status Updates:
- Closed issues → "Done"
- Merged PRs → "Done"
- Reopened issues → "Todo"
- Reopened PRs → "In Progress"
- Structured template for enhancement requests
- Automatically applies
enhancementlabel - Includes priority and phase dropdowns
- Triggers automatic project addition
- Structured template for bug reports
- Automatically applies
buglabel - Includes priority selection and browser information
- Triggers automatic project addition
The workflows use labels to determine:
critical→ Critical priorityhigh→ High prioritymedium→ Medium prioritylow→ Low priority
phase-1→ "Phase 1: Foundation"phase-2→ "Phase 2: State Management"phase-3→ "Phase 3: Core Features"phase-4→ "Phase 4: Advanced Features"phase-5→ "Phase 5: Polish"
Once the PAT is configured, the workflows will automatically:
- Add new issues/PRs with relevant labels to the project
- Set priority levels based on priority labels
- Categorize by development phase using phase labels
- Update status when items are closed, merged, or reopened
- Provide structured templates for consistent issue creation
All automation happens in the background - no manual intervention required after setup.