use proper gitea api
Some checks failed
CI / build (push) Failing after 1m13s
CI / test (built) (push) Has been skipped
CI / test (committed) (push) Has been skipped
CI / commentTestSuiteHelp (push) Has been skipped
CI / package (push) Has been skipped

This commit is contained in:
2025-05-13 09:17:55 +02:00
parent 889dce9eab
commit 298a4222fa

4
dist/index.js vendored
View File

@ -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__;
/******/
/******/ })()
;
;