Skip to content

Commit 2b82ffb

Browse files
fix: pass GITHUB_TOKEN to mise-action and enable install step
Set GITHUB_TOKEN and GITHUB_API_TOKEN on the mise-action step directly and enable install: true so tools are installed during bootstrap where the token is available, avoiding rate limits for aqua backend downloads.
1 parent d84efc0 commit 2b82ffb

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ const project = new awscdk.AwsCdkTypeScriptApp({
7575
uses: 'jdx/mise-action@v3.6.2',
7676
with: {
7777
cache: true,
78+
install: true,
79+
},
80+
env: {
81+
GITHUB_TOKEN: '${{ github.token }}',
82+
GITHUB_API_TOKEN: '${{ github.token }}',
7883
},
7984
},
8085
],

0 commit comments

Comments
 (0)