File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66914,7 +66914,7 @@ function fetchPatch() {
66914
66914
return ``;
66915
66915
}
66916
66916
const ctx = github.context;
66917
- if (ctx.eventName !== `pull_request`) {
66917
+ if (ctx.eventName !== `pull_request` && ctx.eventName !== `pull_request_target` ) {
66918
66918
core.info(`Not fetching patch for showing only new issues because it's not a pull request context: event name is ${ctx.eventName}`);
66919
66919
return ``;
66920
66920
}
Original file line number Diff line number Diff line change @@ -66914,7 +66914,7 @@ function fetchPatch() {
66914
66914
return ``;
66915
66915
}
66916
66916
const ctx = github.context;
66917
- if (ctx.eventName !== `pull_request`) {
66917
+ if (ctx.eventName !== `pull_request` && ctx.eventName !== `pull_request_target` ) {
66918
66918
core.info(`Not fetching patch for showing only new issues because it's not a pull request context: event name is ${ctx.eventName}`);
66919
66919
return ``;
66920
66920
}
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ async function fetchPatch(): Promise<string> {
29
29
}
30
30
31
31
const ctx = github . context
32
- if ( ctx . eventName !== `pull_request` ) {
32
+ if ( ctx . eventName !== `pull_request` && ctx . eventName !== `pull_request_target` ) {
33
33
core . info ( `Not fetching patch for showing only new issues because it's not a pull request context: event name is ${ ctx . eventName } ` )
34
34
return ``
35
35
}
You can’t perform that action at this time.
0 commit comments