ci: pass GITHUB_TOKEN as an access token in more places

This commit is contained in:
Ivan Petkov 2023-01-03 19:52:45 -08:00
parent 18ef99b1e0
commit cc20f29b4a
No known key found for this signature in database
GPG Key ID: BB6F9EFC065832B6
2 changed files with 8 additions and 0 deletions

View File

@ -39,6 +39,8 @@ jobs:
- uses: cachix/install-nix-action@v18
with:
install_url: ${{ matrix.install_url }}
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v12
with:
name: crane
@ -101,6 +103,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v12
with:
name: deadnix

View File

@ -14,6 +14,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v12
with:
name: crane