Closed kawamura-lvgs closed 9 months ago
Hello, probably there is a bug. I wanted to implement it as you said. I will check and fix it.
If you have multiple reviewers(one just commented and second approved) then this PR will be considered as approved. Once Changes requested are dismissed it is considered as changes are not required.
Thank you!
Hello, I have a question regarding the implementation of
getApproveTime
.In the implementation of
getApproveTime
, it looks like this: https://github.com/AlexSim93/pull-request-analytics-action/blob/master/src/converters/utils/calculations/getApproveTime.tsIn the current implementation, there is no comparison before and after
CHANGES_REQUESTED
andAPPROVED
.Therefore, even if
CHANGES_REQUESTED
is performed afterAPPROVED
, the value of approveEntry can still be obtained. The data I want to obtain should ideally be in the state where all reviews areAPPROVED,
but this implementation does not achieve that.Was this implementation intentional? Your feedback would be appreciated.