Skip to content

Commit ef43cf5

Browse files
bdougieContinue
andcommitted
fix: use vars.CONTINUE_APP_ID instead of secrets for App ID
GitHub App IDs are not sensitive and should be stored as repository variables (vars) rather than secrets. This allows the workflow to properly detect when the App ID is configured. - Changed if condition from secrets.CONTINUE_APP_ID to vars.CONTINUE_APP_ID - Changed app-id input from secrets.CONTINUE_APP_ID to vars.CONTINUE_APP_ID - Private key remains as secrets.CONTINUE_APP_PRIVATE_KEY (correct) Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <noreply@continue.dev>
1 parent 517323f commit ef43cf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/code-review-debug.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
fetch-depth: 0
2626

2727
- name: Generate App Token (Optional)
28-
if: secrets.CONTINUE_APP_ID != '' && secrets.CONTINUE_APP_PRIVATE_KEY != ''
28+
if: vars.CONTINUE_APP_ID != '' && secrets.CONTINUE_APP_PRIVATE_KEY != ''
2929
id: generate_token
3030
uses: actions/create-github-app-token@v1
3131
with:
32-
app-id: ${{ secrets.CONTINUE_APP_ID }}
32+
app-id: ${{ vars.CONTINUE_APP_ID }}
3333
private-key: ${{ secrets.CONTINUE_APP_PRIVATE_KEY }}
3434

3535
- name: Setup Node.js

0 commit comments

Comments
 (0)