summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorEarl Warren <contact@earl-warren.org>2024-12-18 12:03:41 +0100
committerEarl Warren <contact@earl-warren.org>2024-12-19 10:55:05 +0100
commitd07c5cf69ce591a905a33cba93f2f90db8b86ded (patch)
tree87e785368635e403788d91e54b692433ddb984a5 /modules
parentMerge pull request 'Update actions/cascading-pr action to v2.2.0 (forgejo)' (... (diff)
downloadforgejo-d07c5cf69ce591a905a33cba93f2f90db8b86ded.tar.xz
forgejo-d07c5cf69ce591a905a33cba93f2f90db8b86ded.zip
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.
Diffstat (limited to 'modules')
-rw-r--r--modules/setting/actions.go2
-rw-r--r--modules/setting/actions_test.go2
2 files changed, 2 insertions, 2 deletions
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",