Skip to content

Commit

Permalink
Supply Github API token to Nix vendor hash update
Browse files Browse the repository at this point in the history
  • Loading branch information
comp500 committed Jul 6, 2023
1 parent 1d979c2 commit d5b84f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5b84f2

Please sign in to comment.