You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The time in draft function assumes that the pr is opened as a draft which is not always true and if a PR goes into draft after being in a ready for review state, the draft time time after a ready for review state is not counted. It is also not cumulative.
To Reproduce
Run the action with Time in Draft enabled on pull requests that have moved into draft state after being ready for review.
Expected behavior
Ideally we would add up all the time in draft for a pr and record that as "Time in draft".
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Hi! I would like to work on this. I had some doubts on what event to search but I found that there is a event called "converted_to_draft" that can be used.
I will try using that similar to how time_to_ready_for_review.py is done:
Describe the bug
The time in draft function assumes that the pr is opened as a draft which is not always true and if a PR goes into draft after being in a ready for review state, the draft time time after a ready for review state is not counted. It is also not cumulative.
To Reproduce
Time in Draft
enabled on pull requests that have moved into draft state after being ready for review.Expected behavior
Ideally we would add up all the time in draft for a pr and record that as "Time in draft".
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: