From 14c634345d82f1e47393d09c6ac726e12d5b5bc0 Mon Sep 17 00:00:00 2001 From: "Thing-han, Lim" <15379156+potsrevennil@users.noreply.github.com> Date: Wed, 18 Sep 2024 17:29:23 +0800 Subject: [PATCH] add github access token for nix installer Signed-off-by: Thing-han, Lim <15379156+potsrevennil@users.noreply.github.com> --- .github/actions/setup-nix/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/setup-nix/action.yml b/.github/actions/setup-nix/action.yml index 38cb6f54c..1a343d64e 100644 --- a/.github/actions/setup-nix/action.yml +++ b/.github/actions/setup-nix/action.yml @@ -31,6 +31,7 @@ runs: curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm \ --extra-conf "trusted-users = root ${USER:-}" \ --extra-conf "experimental-features = nix-command flakes" \ + --extra-conf "access-tokens = github.com=$GITHUB_TOKEN" - name: Post-check nix shell: bash run: |