We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6238b0 commit 2be9acdCopy full SHA for 2be9acd
src/run.ts
@@ -32,7 +32,7 @@ async function fetchPatch(): Promise<string> {
32
}
33
34
const ctx = github.context
35
- if (ctx.eventName !== `pull_request`) {
+ if (ctx.eventName !== `pull_request` && ctx.eventName !== `pull_request_target`) {
36
core.info(`Not fetching patch for showing only new issues because it's not a pull request context: event name is ${ctx.eventName}`)
37
return ``
38
0 commit comments