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
{{ message }}
Repository navigation
Commit 35ed43d
Browse filesBrowse the repository at this point in the historyBrowse files
if(current.ok&&((awaitcurrent.json())as{status?: string}).status==="completed")returnconsole.log("second look: the check is already closed (a forced approval?), leaving it")
33
+
if(current.ok&&((awaitcurrent.json())as{status?: string}).status==="completed")returnconsole.log("second look: the check is already closed, leaving it")
Copy file name to clipboardExpand all lines: actions/second-look/postReview.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@ import type { InlineComment } from "./inlineCommentsOf.ts"
2
2
importtype{ReviewEvent}from"./reviewEventOf.ts"
3
3
4
4
/**
5
-
* submits one review on `commitId` as `event`, carrying the new inline comments; every run gets one, so the pr always
6
-
* shows an approval, a change request or a comment from second look. github answers 422 when the poster can't approve
7
-
* or request changes (its own pr), so that one goes in as a plain comment review instead. resolves to the review's url
5
+
* submits one review on `commitId` as `event` (reviewEventOf.ts), carrying the new inline comments; every run gets one,
6
+
* so the pr always shows a change request or a comment from second look (an approval only on a beta-enabled pr). github
7
+
* answers 422 when the poster can't approve or request changes (its own pr), so that one goes in as a plain comment review instead. resolves to the review's url
0 commit comments