diff --git a/src/support.ts b/src/support.ts index c7b5ae9..f07273e 100644 --- a/src/support.ts +++ b/src/support.ts @@ -11,6 +11,9 @@ function isDependabotPR(issue: Issue) { return issue.user?.login === 'dependabot[bot]'; } -export function isSupported(config: { ignore_dependabot: string }, issue: Issue) { +export function isSupported( + config: { ignore_dependabot: string }, + issue: Issue +) { return !(config.ignore_dependabot === 'on' && isDependabotPR(issue)); }