From 524c90bfdbaf18696046a6f907611adf85eec4be Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Thu, 25 Apr 2024 02:35:29 +0200 Subject: [PATCH] chore: generate --- dist/post_run/index.js | 2 +- dist/run/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/post_run/index.js b/dist/post_run/index.js index e51711c..91fbc1b 100644 --- a/dist/post_run/index.js +++ b/dist/post_run/index.js @@ -89177,7 +89177,7 @@ async function fetchPatch() { return ``; } const ctx = github.context; - if (ctx.eventName !== `pull_request`) { + if (ctx.eventName !== `pull_request` && ctx.eventName !== `pull_request_target`) { core.info(`Not fetching patch for showing only new issues because it's not a pull request context: event name is ${ctx.eventName}`); return ``; } diff --git a/dist/run/index.js b/dist/run/index.js index 7cc8c9a..6e8230c 100644 --- a/dist/run/index.js +++ b/dist/run/index.js @@ -89177,7 +89177,7 @@ async function fetchPatch() { return ``; } const ctx = github.context; - if (ctx.eventName !== `pull_request`) { + if (ctx.eventName !== `pull_request` && ctx.eventName !== `pull_request_target`) { core.info(`Not fetching patch for showing only new issues because it's not a pull request context: event name is ${ctx.eventName}`); return ``; }