From 046b4bff90042a22eb39a6d3735b16fba3a5e7f5 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Fri, 1 May 2026 18:45:35 +0100 Subject: [PATCH] runner: resolve action refs against github.com by default Forgejo's runner defaults to fetching `uses: org/repo@vN` from its instance's mirror (data.forgejo.org), which doesn't host most GitHub-marketplace actions like cachix/install-nix-action. Pointing default_actions_url at github.com makes the existing workflow Just Work without fully-qualified URLs in `uses:` lines. Co-Authored-By: Claude Opus 4.7 --- services/forgejo-runner.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/forgejo-runner.nix b/services/forgejo-runner.nix index f36d832..608e9c3 100644 --- a/services/forgejo-runner.nix +++ b/services/forgejo-runner.nix @@ -26,6 +26,10 @@ labels = [ "fred-nix:docker://catthehacker/ubuntu:act-latest" ]; + # Resolve `uses: org/repo@v1` against github.com — without this the + # runner falls back to the Forgejo instance's mirror (data.forgejo.org) + # which doesn't host most GitHub-marketplace actions. + settings.runner.default_actions_url = "https://github.com"; }; }; };