From 4562bda0bfb4f4756c79ad287152ec42444727d5 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Thu, 14 Dec 2023 00:18:28 +0100 Subject: [PATCH] fix(ci): avoid nix trying to use GH access-token The GITHUB_TOKEN env var is set on each step by https://code.forgejo.org/forgejo/runner, but only to communicate with forgejo to access the repo (if it is private) error: unable to download 'https://api.github.com/repos/srid/nixos-flake/tarball/4e422edf6b511f8e214b392cf1a0d4707a0399a4': HTTP error 401 --- .forgejo/workflows/check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/check.yml b/.forgejo/workflows/check.yml index a10626b..f8f9f03 100644 --- a/.forgejo/workflows/check.yml +++ b/.forgejo/workflows/check.yml @@ -47,4 +47,4 @@ jobs: - name: Run flake checks run: | - nix --print-build-logs --verbose --accept-flake-config flake check + nix --print-build-logs --verbose --accept-flake-config --access-tokens '' flake check