Skip to content

Commit 74afdf9

Browse files
fix(ci): use CodeBoarding license for review and sync
Amp-Thread-ID: https://ampcode.com/threads/T-01a14075-f4ec-7469-a307-99431aadc67f Co-authored-by: Ivan Milev <ivanmilevtues@gmail.com>
1 parent 8365794 commit 74afdf9

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

‎.github/workflows/codeboarding.yml‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,13 @@ jobs:
3333
contents: read # check out the repo + read the saved analysis (no writes in review mode)
3434
pull-requests: write # post the architecture-diff PR comment
3535
issues: write # the /codeboarding issue_comment trigger + comment API
36-
id-token: write # mint a GitHub OIDC token for the free hosted tier (write is the only level for id-token)
36+
id-token: write # mint a GitHub OIDC token for CodeBoarding
3737
actions: read # let a repeat review download the analysis an earlier run published, instead of re-deriving the whole PR
3838
steps:
3939
- uses: CodeBoarding/CodeBoarding-action@v1
4040
with:
41-
# CodeBoarding's free hosted tier. No secret to add: the run authenticates
42-
# with the GitHub OIDC token that `id-token: write` above grants.
43-
llm: hosted
41+
llm: license
42+
license_key: ${{ secrets.CODEBOARDING_LICENSE_KEY }}
4443

4544
sync:
4645
if: github.event_name == 'push'
@@ -54,6 +53,5 @@ jobs:
5453
- uses: CodeBoarding/CodeBoarding-action@v1
5554
with:
5655
mode: sync
57-
# CodeBoarding's free hosted tier. No secret to add: the run authenticates
58-
# with the GitHub OIDC token that `id-token: write` above grants.
59-
llm: hosted
56+
llm: license
57+
license_key: ${{ secrets.CODEBOARDING_LICENSE_KEY }}

0 commit comments

Comments
 (0)