Skip to content

Commit c69975f

Browse files
committed
update jira status script
1 parent bb44d1b commit c69975f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

update_jira/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@ async function handlePullRequestEvent(eventData, jiraUtil, githubRepository) {
6969
break
7070
case 'ready_for_review':
7171
targetStatus = 'Code Review'
72+
case 'synchronize': {
73+
if (!pull_request.draft) {
74+
targetStatus = 'Code Review'
75+
}
7276
break
77+
}
7378
default:
7479
console.log(`No status update needed for PR action: ${action}`)
7580
return

0 commit comments

Comments
 (0)