Skip to content

Commit 2e92837

Browse files
authored
[devbox] attempt 2: add GITHUB_TOKEN for nix (#2716)
1 parent 4757fbd commit 2e92837

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/cli-tests.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,11 @@ jobs:
178178
uses: jetify-com/devbox-install-action@jl/migrate-installer
179179
with:
180180
enable-cache: true
181+
- name: Setup Nix GitHub authentication
182+
run: |
183+
# Setup github authentication to ensure Github's rate limits are not hit
184+
mkdir -p ~/.config/nix
185+
echo "access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}" > ~/.config/nix/nix.conf
181186
- name: Run fast tests
182187
if: matrix.run-project-tests == 'project-tests-off'
183188
run: |

0 commit comments

Comments
 (0)