File tree 3 files changed +7
-5
lines changed 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -67012,7 +67012,7 @@ function patchFromPush(ctx) {
67012
67012
head: ctx.sha,
67013
67013
mediaType: {
67014
67014
format: `diff`,
67015
- }
67015
+ },
67016
67016
});
67017
67017
if (patchResp.status !== 200) {
67018
67018
core.warning(`failed to fetch pull request patch: response status is ${patchResp.status}`);
Original file line number Diff line number Diff line change @@ -67012,7 +67012,7 @@ function patchFromPush(ctx) {
67012
67012
head: ctx.sha,
67013
67013
mediaType: {
67014
67014
format: `diff`,
67015
- }
67015
+ },
67016
67016
});
67017
67017
if (patchResp.status !== 200) {
67018
67018
core.warning(`failed to fetch pull request patch: response status is ${patchResp.status}`);
Original file line number Diff line number Diff line change 1
1
import * as core from "@actions/core"
2
2
import * as github from "@actions/github"
3
- import { Context } from ' @actions/github/lib/context'
3
+ import { Context } from " @actions/github/lib/context"
4
4
import { exec , ExecOptions } from "child_process"
5
5
import * as fs from "fs"
6
6
import * as path from "path"
@@ -36,7 +36,9 @@ async function fetchPatch(): Promise<string> {
36
36
} else if ( ctx . eventName === `push` ) {
37
37
patch = await patchFromPush ( ctx )
38
38
} else {
39
- core . info ( `Not fetching patch for showing only new issues because it's not a pull request or push context: event name is ${ ctx . eventName } ` )
39
+ core . info (
40
+ `Not fetching patch for showing only new issues because it's not a pull request or push context: event name is ${ ctx . eventName } `
41
+ )
40
42
return ``
41
43
}
42
44
@@ -104,7 +106,7 @@ async function patchFromPush(ctx: Context): Promise<string> {
104
106
head : ctx . sha ,
105
107
mediaType : {
106
108
format : `diff` ,
107
- }
109
+ } ,
108
110
} )
109
111
110
112
if ( patchResp . status !== 200 ) {
You can’t perform that action at this time.
0 commit comments