GH-900 ยท Project management
Labels and milestones
Using labels to categorize issues and pull requests and milestones to group work toward a goal or date.
Key points
- Labels categorize issues and pull requests (bug, documentation, help wanted) and are used for filtering.
- A milestone groups issues and pull requests toward a goal or release, has an optional due date, and shows a completion percentage with open and closed counts.
Source: https://docs.github.com/en/issues/using-labels-and-milestones-to-track-work/about-milestones
Practice questions
What does a milestone page display about its issues and pull requests?
- Code coverage of each item
- Progress as percent complete with open and closed counts
- Deployment status of each item
- Only the items assigned to you
Show answer
Answer: B. Progress as percent complete with open and closed counts
Milestones show a completion percentage with open and closed counts. They do not show code coverage or deployment status.
Which of the following can be associated with a milestone or labeled?
- Issues
- Pull requests
- Commits
- Branches
- Workflow runs
Show answer
Answer: A. Issues, B. Pull requests
Issues and pull requests can be labeled and attached to milestones. Commits and branches cannot.
A milestone can only contain issues, not pull requests.
Show answer
Answer: False
False. Milestones track groups of both issues and pull requests.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
