diff --git a/lib/modules/platform/gerrit/scm.ts b/lib/modules/platform/gerrit/scm.ts
index 40fc56c88aab2e9ae641e66191e47f2c30d4502a..f4369fa39e2877af8b10e2c2b29598fbc7399ea0 100644
--- a/lib/modules/platform/gerrit/scm.ts
+++ b/lib/modules/platform/gerrit/scm.ts
@@ -34,7 +34,7 @@ export class GerritScm extends DefaultGitScm {
       .findChanges(repository, searchConfig, true)
       .then((res) => res.pop());
     if (change) {
-      return change.current_revision! as LongCommitSha;
+      return change.current_revision as LongCommitSha;
     }
     return git.getBranchCommit(branchName);
   }
@@ -52,7 +52,7 @@ export class GerritScm extends DefaultGitScm {
       .findChanges(repository, searchConfig, true)
       .then((res) => res.pop());
     if (change) {
-      const currentGerritPatchset = change.revisions![change.current_revision!];
+      const currentGerritPatchset = change.revisions[change.current_revision];
       return currentGerritPatchset.actions?.['rebase'].enabled === true;
     }
     return true;
@@ -85,7 +85,7 @@ export class GerritScm extends DefaultGitScm {
       .findChanges(repository, searchConfig, true)
       .then((res) => res.pop());
     if (change) {
-      const currentGerritPatchset = change.revisions![change.current_revision!];
+      const currentGerritPatchset = change.revisions[change.current_revision];
       return currentGerritPatchset.uploader.username !== username;
     }
     return false;
@@ -153,9 +153,7 @@ export class GerritScm extends DefaultGitScm {
       .findChanges(repository, searchConfig, true)
       .then((res) => res.pop());
     if (change) {
-      return super.mergeToLocal(
-        change.revisions![change.current_revision!].ref,
-      );
+      return super.mergeToLocal(change.revisions[change.current_revision].ref);
     }
     return super.mergeToLocal(branchName);
   }