Allow GitHub branch archives through the github remote #45

Merged
benvin merged 2 commits from benvin/github-branch-archives into main 2026-09-11 23:37:08 +10:00
Showing only changes of commit b76fddecb9 - Show all commits
+6 -1
View File
@@ -3,12 +3,17 @@ description: GitHub releases and files
immutable_ttl: 0
mutable_ttl: 7200
mutable_patterns:
- ".*/archive/refs/heads/.*.tar.gz$"
- ".*/archive/refs/heads/.*\\.tar\\.gz$"
- ".*/archive/refs/heads/.*\\.zip$"
- "stalwartlabs/webadmin/releases/latest/download/webadmin.zip$"
# iplocate IP databases (Git-LFS; the /raw/ path redirects to the LFS media host).
- "iplocate/ip-address-databases/raw/.*/ip-to-asn/.*"
- "iplocate/ip-address-databases/raw/.*/ip-to-country/.*"
patterns:
# Branch archives: patterns is a strict allowlist checked before
# mutable_patterns, so heads must be listed in both.
- ".*/archive/refs/heads/.*\\.tar\\.gz$"
- ".*/archive/refs/heads/.*\\.zip$"
- ".*/archive/refs/tags/.*.tar.gz$"
- ".*/archive/refs/tags/.*\\.zip$"
- "9p4/jellyfin-plugin-sso/.*/sso-authentication_.*.zip$"