Supply Github API token to Nix vendor hash update

This commit is contained in:
comp500 2023-07-06 23:50:14 +01:00
parent 1d979c28bf
commit d5b84f2647

View File

@ -16,9 +16,13 @@ jobs:
extra_nix_config: |
experimental-features = nix-command flakes
nix_path: nixpkgs=channel:nixos-unstable
env:
NIX_CONFIG: access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Update packwiz version
run: nix run nixpkgs#nix-prefetch ./nix/prefetcher.nix | tee ./nix/vendor-sha256
env:
NIX_CONFIG: access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v4