diff --git a/dist/post_run/index.js b/dist/post_run/index.js index db2fc49..14c7294 100644 --- a/dist/post_run/index.js +++ b/dist/post_run/index.js @@ -85290,6 +85290,7 @@ async function fetchPatch() { switch (ctx.eventName) { case `pull_request`: case `pull_request_target`: + case `pull_request_review`: return await fetchPullRequestPatch(ctx); case `push`: return await fetchPushPatch(ctx); @@ -85439,6 +85440,7 @@ async function runLint(lintPath, patchPath) { switch (ctx.eventName) { case `pull_request`: case `pull_request_target`: + case `pull_request_review`: case `push`: if (patchPath) { addedArgs.push(`--new-from-patch=${patchPath}`); diff --git a/dist/run/index.js b/dist/run/index.js index 474c944..3a627af 100644 --- a/dist/run/index.js +++ b/dist/run/index.js @@ -85290,6 +85290,7 @@ async function fetchPatch() { switch (ctx.eventName) { case `pull_request`: case `pull_request_target`: + case `pull_request_review`: return await fetchPullRequestPatch(ctx); case `push`: return await fetchPushPatch(ctx); @@ -85439,6 +85440,7 @@ async function runLint(lintPath, patchPath) { switch (ctx.eventName) { case `pull_request`: case `pull_request_target`: + case `pull_request_review`: case `push`: if (patchPath) { addedArgs.push(`--new-from-patch=${patchPath}`); diff --git a/src/run.ts b/src/run.ts index 7e3fa1c..1ddfa5c 100644 --- a/src/run.ts +++ b/src/run.ts @@ -37,6 +37,7 @@ async function fetchPatch(): Promise { switch (ctx.eventName) { case `pull_request`: case `pull_request_target`: + case `pull_request_review`: return await fetchPullRequestPatch(ctx) case `push`: return await fetchPushPatch(ctx) @@ -222,6 +223,7 @@ async function runLint(lintPath: string, patchPath: string): Promise { switch (ctx.eventName) { case `pull_request`: case `pull_request_target`: + case `pull_request_review`: case `push`: if (patchPath) { addedArgs.push(`--new-from-patch=${patchPath}`)