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 @@ -67856,7 +67856,7 @@ function patchFromPush(ctx) {
67856
67856
head: ctx.sha,
67857
67857
mediaType: {
67858
67858
format: `diff`,
67859
- }
67859
+ },
67860
67860
});
67861
67861
if (patchResp.status !== 200) {
67862
67862
core.warning(`failed to fetch pull request patch: response status is ${patchResp.status}`);
Original file line number Diff line number Diff line change @@ -67856,7 +67856,7 @@ function patchFromPush(ctx) {
67856
67856
head: ctx.sha,
67857
67857
mediaType: {
67858
67858
format: `diff`,
67859
- }
67859
+ },
67860
67860
});
67861
67861
if (patchResp.status !== 200) {
67862
67862
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