Skip to content

Commit 026caab

Browse files
authored
[cicd] Fix github rate limit issue (#2667)
## Summary Fixes https://github.com/jetify-com/devbox/actions/runs/16847493651/job/47729104601 This is a very specific fix to this job. I think a better solution is to pass `--extra-access-tokens` flag into nix commands that may interact with github. ## How was it tested? Not sure how to test. ## Community Contribution License All community contributions in this pull request are licensed to the project maintainers under the terms of the [Apache 2 License](https://www.apache.org/licenses/LICENSE-2.0). By creating this pull request, I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the [Community Contribution License](https://github.com/jetify-com/opensource/blob/main/CONTRIBUTING.md#community-contribution-license).
1 parent 3ec2038 commit 026caab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/cache-upload.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ env:
2222
DEVBOX_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2323
DEVBOX_DEBUG: 1
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
# I think this should be added to individual nix commands within devbox, but this is quick fix for now
26+
NIX_CONFIG: |
27+
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
2528
2629
jobs:
2730
upload-cache:

0 commit comments

Comments
 (0)