diff --git a/services/gitea/gitea-last-commit.service.js b/services/gitea/gitea-last-commit.service.js
index bf9c3c28df956def05824036ad1d373c00c5cb08..9a6377e8f2d31bf2c9c861db8834f26059b5d40b 100644
--- a/services/gitea/gitea-last-commit.service.js
+++ b/services/gitea/gitea-last-commit.service.js
@@ -126,7 +126,7 @@ export default class GiteaLastCommit extends GiteaBase {
     return super.fetch({
       schema,
       url: `${baseUrl}/api/v1/repos/${user}/${repo}/commits`,
-      options: { searchParams: { sha: branch, path } },
+      options: { searchParams: { sha: branch, path, limit: 1 } },
       httpErrors: httpErrorsFor(),
     })
   }
diff --git a/services/github/github-last-commit.service.js b/services/github/github-last-commit.service.js
index b0fb5d4fc4efc1ffe5c8308462712e78b61c589a..fa989229c22b147ff5c8f4c661b5dc4c6f9ca301 100644
--- a/services/github/github-last-commit.service.js
+++ b/services/github/github-last-commit.service.js
@@ -98,7 +98,7 @@ export default class GithubLastCommit extends GithubAuthV3Service {
   async fetch({ user, repo, branch, path }) {
     return this._requestJson({
       url: `/repos/${user}/${repo}/commits`,
-      options: { searchParams: { sha: branch, path } },
+      options: { searchParams: { sha: branch, path, per_page: 1 } },
       schema,
       httpErrors: httpErrorsFor(),
     })
diff --git a/services/gitlab/gitlab-last-commit.service.js b/services/gitlab/gitlab-last-commit.service.js
index af17127296ea3ae7df87518f9cfa423a510218df..b97c300bebbd58ca74f1aa3f02faf25e0db3e0f3 100644
--- a/services/gitlab/gitlab-last-commit.service.js
+++ b/services/gitlab/gitlab-last-commit.service.js
@@ -79,7 +79,7 @@ export default class GitlabLastCommit extends GitLabBase {
       url: `${baseUrl}/api/v4/projects/${encodeURIComponent(
         project,
       )}/repository/commits`,
-      options: { searchParams: { ref_name: ref, path } },
+      options: { searchParams: { ref_name: ref, path, per_page: 1 } },
       schema,
       httpErrors: httpErrorsFor('project not found'),
     })