File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change
1
+ Version 1.0.10
2
+ EXUI-3114 Investigate automation tool to improve PR review process
3
+
1
4
Version 1.0.9
2
5
EXUI-3114 Investigate automation tool to improve PR review process
3
6
Original file line number Diff line number Diff line change @@ -403,10 +403,15 @@ async function handlePRReview(event) {
403
403
// remove from state
404
404
await stateManager . removePR ( repo , prNumber )
405
405
} else {
406
- await stateManager . updatePR ( repo , prNumber , {
406
+ await stateManager . updatePR ( repo , prNumber , {
407
+ number : prNumber ,
408
+ title : prTitle ,
409
+ author : prAuthor ,
410
+ url : `https://github.com/${ repo } /pull/${ prNumber } ` ,
411
+ changesRequested : changesRequestedCount > 0 ,
407
412
approvals : approvedCount ,
408
- changesRequested : changesRequestedCount > 0
409
- } )
413
+ createdAt : new Date ( ) . toISOString ( )
414
+ } ) ;
410
415
}
411
416
412
417
await repostApprovalList ( ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @hmcts/pr-bot" ,
3
- "version" : " 1.0.9 " ,
3
+ "version" : " 1.0.10 " ,
4
4
"description" : " A bot to be used in Github Actions which posts to Slack contextual information about pull requests." ,
5
5
"main" : " dist/index.js" ,
6
6
"bin" : {
You can’t perform that action at this time.
0 commit comments