ci: point checkout + SDK insteadOf at git.flemming.ai
All checks were successful
CI / Linux x86_64 (Forgejo) (push) Successful in 1m43s

The Forgejo instance the modules and the chain-module-sdk dep
live on is reachable at git.flemming.ai (api/v1/version returns
SERVING); git.flemming.ws is a legacy host that no longer
resolves at the API level. Cargo.toml's git dep already uses
.ai — the CI workflow's checkout URL and the SDK insteadOf
rewrite now match, so cargo's git fetch can authenticate via
${{ secrets.MODULE_SDK_PAT }} the same way it was always meant
to. No behaviour change to the module code.

Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
flemming-it 2026-06-18 12:31:35 +02:00
parent 6bd97f1436
commit 3f6b08ab53

View file

@ -24,7 +24,7 @@ jobs:
cd "$GITHUB_WORKSPACE" cd "$GITHUB_WORKSPACE"
git init -q git init -q
git remote add origin \ git remote add origin \
"https://x-access-token:${GITHUB_TOKEN}@git.flemming.ws/${GITHUB_REPOSITORY}.git" "https://x-access-token:${GITHUB_TOKEN}@git.flemming.ai/${GITHUB_REPOSITORY}.git"
git fetch --depth=1 origin "$GITHUB_SHA" git fetch --depth=1 origin "$GITHUB_SHA"
git checkout -q FETCH_HEAD git checkout -q FETCH_HEAD
@ -33,8 +33,8 @@ jobs:
SDK_PAT: ${{ secrets.MODULE_SDK_PAT }} SDK_PAT: ${{ secrets.MODULE_SDK_PAT }}
run: | run: |
git config --global \ git config --global \
"url.https://x-access-token:${SDK_PAT}@git.flemming.ws/.insteadOf" \ "url.https://x-access-token:${SDK_PAT}@git.flemming.ai/.insteadOf" \
"https://git.flemming.ws/" "https://git.flemming.ai/"
- name: Install system dependencies - name: Install system dependencies
run: | run: |