[breaking-change] Only allow a single [[wildcard]].index-repo.

The git-pages webhook security model depends on there being
a 1:1 mapping between site URLs and repositories; being able to
specify multiple of them breaks this model, as anyone could switch
the published site from one to the other if both repositories exist.
This commit is contained in:
Catherine
2026-01-19 02:25:01 +00:00
parent 9b25ccdc35
commit 0d33c64372
4 changed files with 35 additions and 47 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ metrics = "tcp/localhost:3002"
[[wildcard]] # non-default section
domain = "codeberg.page"
clone-url = "https://codeberg.org/<user>/<project>.git"
index-repos = ["<user>.codeberg.page", "pages"]
index-repo = "pages"
index-repo-branch = "main"
authorization = "forgejo"