milestones section configures milestones for repositories. Milestones help track progress on groups of issues and pull requests.
Basic Configuration
The title of the milestone. This is used to identify the milestone and must be unique within the repository.
A description of the milestone explaining its purpose or goals.
The state of the milestone. Can be:
open- The milestone is active and accepting issuesclosed- The milestone is complete
Complete Examples
Basic Milestone
Multiple Milestones
Release Milestones
Quarter-Based Milestones
Sprint Milestones
Milestone Management
Creating Milestones
Safe Settings will create milestones that don’t exist in the repository:Updating Milestones
Safe Settings updates milestones when the description or state changes:Deleting Milestones
Milestones not defined in your configuration will be removed from the repository. To keep a milestone, include it in your configuration.Due Dates
Note: Thedue_on field is intentionally not supported by Safe Settings. Due dates are excluded from configuration management to allow flexible scheduling without requiring settings updates.
If you need to set due dates, do so manually through the GitHub UI or API.
Using Milestones
Once configured, milestones can be:Assigned to Issues
Assigned to Pull Requests
Viewed in GitHub
- Navigate to the repository
- Click “Issues” or “Pull requests”
- Click “Milestones” to see progress
Best Practices
-
Use Consistent Naming: Establish a naming convention for milestones
-
Close Completed Milestones: Update the state when work is complete
-
Provide Meaningful Descriptions: Help team members understand the milestone’s purpose
-
Plan Ahead: Create upcoming milestones to help with planning
Common Patterns
Semantic Versioning
Release Train
Epic-Based
Viewing Milestone Progress
In the GitHub UI, milestones show:- Number of open issues
- Number of closed issues
- Percentage complete
- Due date (if set manually)
Integration with Project Boards
Milestones can be used alongside GitHub Projects for enhanced project management:- Filter project boards by milestone
- Track milestone progress across multiple repositories
- Link milestones to project timelines