From 298a4222fab52c2a77770ac68725ee6575e4e86c Mon Sep 17 00:00:00 2001 From: Philipp Hofer Date: Tue, 13 May 2025 09:17:55 +0200 Subject: [PATCH] use proper gitea api --- dist/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 55f49bc..344fd6b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1328,7 +1328,7 @@ class GitHubHelper { options.auth = `${token}`; } if (githubServerHostname !== 'github.com') { - options.baseUrl = `https://${githubServerHostname}/api/v3`; + options.baseUrl = `https://${githubServerHostname}/api/v1`; } else { options.baseUrl = 'https://api.github.com'; @@ -36682,4 +36682,4 @@ function validateConcurrency(concurrency) { /******/ module.exports = __webpack_exports__; /******/ /******/ })() -; \ No newline at end of file +;