From d07c5cf69ce591a905a33cba93f2f90db8b86ded Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 18 Dec 2024 12:03:41 +0100 Subject: fix: actions move to data.forgejo.org code.forgejo.org is meant for development, the actions need to be highly available and can be read-only. This is what data.forgejo.org will provide. --- modules/setting/actions.go | 2 +- modules/setting/actions_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/setting/actions.go b/modules/setting/actions.go index 8c1b57b649..52a3ad5309 100644 --- a/modules/setting/actions.go +++ b/modules/setting/actions.go @@ -46,7 +46,7 @@ func (url defaultActionsURL) URL() string { } const ( - defaultActionsURLForgejo = "https://code.forgejo.org" + defaultActionsURLForgejo = "https://data.forgejo.org" defaultActionsURLGitHub = "github" // https://github.com defaultActionsURLSelf = "self" // the root URL of the self-hosted instance ) diff --git a/modules/setting/actions_test.go b/modules/setting/actions_test.go index afd76d3bee..4bff6e02ad 100644 --- a/modules/setting/actions_test.go +++ b/modules/setting/actions_test.go @@ -117,7 +117,7 @@ func Test_getDefaultActionsURLForActions(t *testing.T) { iniStr: ` [actions] `, - wantURL: "https://code.forgejo.org", + wantURL: "https://data.forgejo.org", }, { name: "github", -- cgit v1.2.3