Skip to content

Commit ba512e9

Browse files
Exui 3114 tool to improve pr review v14 (#19)
* bug fix * updated release version
1 parent 39ef29c commit ba512e9

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

prBot/RELEASE-NOTES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Version 1.0.9
2+
EXUI-3114 Investigate automation tool to improve PR review process
3+
14
Version 1.0.8
25
EXUI-3114 Investigate automation tool to improve PR review process
36

prBot/dist/prBot.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,10 @@ async function handlePRReview(event) {
403403
// remove from state
404404
await stateManager.removePR(repo, prNumber)
405405
} else {
406-
await stateManager.updatePR(repo, prNumber, { approvals: approvedCount })
406+
await stateManager.updatePR(repo, prNumber, {
407+
approvals: approvedCount,
408+
changesRequested: changesRequestedCount > 0
409+
})
407410
}
408411

409412
await repostApprovalList();

prBot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hmcts/pr-bot",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"description": "A bot to be used in Github Actions which posts to Slack contextual information about pull requests.",
55
"main": "dist/index.js",
66
"bin": {

0 commit comments

Comments
 (0)