From 8725a6ad42d6e24a562f1190bee792204f31126d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Thu, 24 Jun 2021 18:23:41 +0200 Subject: [PATCH] flakes: pass github token to shield against rate limiting --- .github/workflows/test.yml | 1 + README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 40ae941..e7f0997 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -75,6 +75,7 @@ jobs: install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve' extra_nix_config: | experimental-features = nix-command flakes + access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - run: nix flake show github:NixOS/nixpkgs installer-options: diff --git a/README.md b/README.md index 41808d3..ebc3e74 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,7 @@ jobs: install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve' extra_nix_config: | experimental-features = nix-command flakes + access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - run: nix-build ```