ci: authenticate git for forge dependencies in workspace builds #134
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_compute!134
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "main_mik"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The workspace build fails in CI because it pulls hero_theme transitively through hero_admin_lib and hero_website_framework, and that dependency's repository was moved so its old URL now redirects. Cloning a redirected repo needs git credentials, but the runners never wired the FORGE_TOKEN they already have into git, so cargo could not fetch it and the build died during cargo metadata. This adds the standard token insteadOf rewrite for forge.ourworld.tf before the build steps in test, lab-publish, and build-linux. Local builds were unaffected because a developer's global git config already carries the same rewrite.