Skip to content

Commit f79518a

Browse files
committed
Stop naming the Gitea mirror in the sync workflow
The regex it describes never matched on host anyway, and git.community-scripts.org is being decommissioned -- upstream carries no Gitea URLs left to rewrite.
1 parent c2293b0 commit f79518a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/sync-scripts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ jobs:
6969
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
7070
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")'''
7171
72-
# Upstream uses several spellings: raw.githubusercontent or the Gitea
73-
# mirror, curl -fsSL or curl -s.
72+
# Upstream uses several spellings of the same line, curl -fsSL or curl -s,
73+
# so match the host loosely rather than pinning raw.githubusercontent.
7474
pat = re.compile(r'source <\(curl -[a-zA-Z]* ?https?://[^)]*/misc/build\.func\)')
7575
7676
# Upstream is migrating to core, so a growing number of scripts already

0 commit comments

Comments
 (0)