Skip to content

ci(fork): run workflows on GitHub-hosted runners - #5

Merged
xcastdev merged 1 commit into
mainfrom
ci/github-hosted-runners
Nov 17, 2026
Merged

xcastdev merged 1 commit into
mainfrom
ci/github-hosted-runners

Conversation

@xcastdev

Copy link
Copy Markdown
Owner

Problem

Every CI job on this fork waits in the queue until GitHub drops it. The workflows ask for Blacksmith runners, and Blacksmith needs a GitHub organization, while this fork belongs to a personal account.

Change

.github/fork/use-github-runners.sh rewrites the workflows for GitHub-hosted runners, which are free for public repositories:

Blacksmith GitHub-hosted
blacksmith-*vcpu-ubuntu-2404 ubuntu-24.04
blacksmith-*vcpu-ubuntu-2404-arm ubuntu-24.04-arm
blacksmith-*vcpu-macos-26 macos-26
blacksmith-*vcpu-macos-27 xcode-27 (GitHub's macOS 27 image is named for its Xcode)
blacksmith-*vcpu-windows-2025 windows-2025

The script also:

  • drops the Blacksmith-only /etc/apt/blacksmith-ubuntu-mirrors.txt from the apt sed lines (a missing file failed those steps);
  • swaps useblacksmith/stickydisk for actions/cache, which takes the same key and path;
  • exits with an error if any Blacksmith reference is left.

It is idempotent. The upstream integration procedure now runs it after taking upstream's workflows, so merges stay a re-run rather than a hand merge.

Scope

Fork-only. Not for upstream.

Verification

  • All 27 workflow files parse as YAML.
  • No Blacksmith reference remains.
  • A second run of the script changes nothing.
  • This PR's own CI is the real test: it runs on the new runners. Public-repo Linux runners are 4 vCPU / 16 GB, smaller than Blacksmith's 8–32 vCPU, so long jobs may be slower and some timeouts may need raising.

Done by Claude Opus 5.5 in Claude Code, running in T3 Code.

Blacksmith runners need a GitHub organization, and this fork belongs to a personal account, so every CI job waited in the queue until GitHub dropped it.

A re-runnable script maps the Blacksmith labels to GitHub's (Ubuntu 24.04, Ubuntu 24.04 Arm, macos-26, xcode-27 for macOS 27, windows-2025), drops the Blacksmith-only apt mirror file, and swaps stickydisk for actions/cache. The upstream integration procedure now runs it after taking upstream's workflows.

Done by Claude Opus 5.5 in Claude Code, running in T3 Code.
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:L labels Nov 16, 2026
@github-actions

Copy link
Copy Markdown

Thread transfer impact

⚠️ The latest CI run did not produce a thread transfer result for 33db951.

This comment will update automatically after the next completed run.

@xcastdev
xcastdev merged commit 9c103b7 into main Nov 17, 2026
34 of 52 checks passed
@xcastdev
xcastdev deleted the ci/github-hosted-runners branch November 17, 2026 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant