issue-metrics icon indicating copy to clipboard operation
issue-metrics copied to clipboard

Support draft PRs

Open AlekSi opened this issue 1 year ago • 2 comments

Is your feature request related to a problem?

No response

Describe the solution you'd like

*For pull requests, these metrics exclude the time the PR was in draft mode.

It would be nice if this tool supported tracking time from the moment draft PR is created in addition to other metrics (i.e. time from the moment PR is ready for review). In workflows, when draft PR is created ASAP when work on some issue is started, it would allow tracking cycle time of issues through associated PRs.

Describe alternatives you've considered

No response

Additional context

No response

AlekSi avatar Aug 20 '24 08:08 AlekSi

This is a great idea!

zkoppert avatar Aug 21 '24 04:08 zkoppert

This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 14 days.

github-actions[bot] avatar Sep 12 '24 01:09 github-actions[bot]

Taking a look at this. Working on implementing a "track_draft_prs" env variable. WIP

zkoppert avatar Oct 23 '24 00:10 zkoppert

PR ready for review: https://github.com/github/issue-metrics/pull/415

zkoppert avatar Oct 23 '24 21:10 zkoppert