diff --git a/.github/workflows/lintcommits.yml b/.github/workflows/lintcommits.yml index ade728c8db7..f90630f1a7e 100644 --- a/.github/workflows/lintcommits.yml +++ b/.github/workflows/lintcommits.yml @@ -66,7 +66,7 @@ jobs: const errors = []; for (const { sha, commit: { message }, author } of commits) { - if (excludedBotIds.includes(author.id)) { + if (author !== null && excludedBotIds.includes(author.id)) { continue; } const commitErrors = [];