diff --git a/src/action.ts b/src/action.ts index 379b08b..cc77a5e 100644 --- a/src/action.ts +++ b/src/action.ts @@ -22,7 +22,9 @@ export namespace Action { }) const { title } = payload - const issues = response.data.filter((i) => i.number !== payload.number) + const issues = response.data.filter( + (i) => i.number !== payload.number && i.pull_request === undefined, + ) const threshold = parseFloat(core.getInput('threshold')) // eslint-disable-next-line no-restricted-syntax