Goals are targets that you can set for key metrics to measure your team's success. When you set a goal for a key metric, you can see how your team's performance compares to the goal using the goal line on charts and the success rate metric. For example, you can set the goal for
code review turnaround time to 4 hours. A goal line on the key metric chart shows which code reviews achieved the goal and which did not. If your team completed one half of code reviews in less than 4 hours, your
success rate will be 50%.
Goals are only available in key metrics. Some reports also show which work, such as individual pull requests, did not meet your goal. For more information, see "Viewing key metrics and reports."
Goals cannot be created or deleted. When you edit a goal, the new goal applies to everyone using your GitHub Insights application.
- In GitHub Insights, click Key metrics.
- Under Key metrics, click the name of the metric you want to view.
- To the right of the goal, click .
- In the text field, type a new goal value.
- Click Save.