Skip to content

Commit d84efc0

Browse files
fix: use github.token for mise/aqua to avoid API rate limits in CI
Use the default Actions GITHUB_TOKEN (github.token) for MISE_GITHUB_TOKEN and GITHUB_API_TOKEN so that mise's aqua backend can authenticate API calls when downloading tools like trivy.
1 parent 36ee2e5 commit d84efc0

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ const project = new awscdk.AwsCdkTypeScriptApp({
8181
buildWorkflowOptions: {
8282
env: {
8383
GITHUB_TOKEN: '${{ secrets.PROJEN_GITHUB_TOKEN }}',
84-
MISE_GITHUB_TOKEN: '${{ secrets.PROJEN_GITHUB_TOKEN }}',
84+
MISE_GITHUB_TOKEN: '${{ github.token }}',
85+
GITHUB_API_TOKEN: '${{ github.token }}',
8586
},
8687
},
8788
gitignore: [

0 commit comments

Comments
 (0)