File tree Expand file tree Collapse file tree 3 files changed +22
-6
lines changed
Expand file tree Collapse file tree 3 files changed +22
-6
lines changed Original file line number Diff line number Diff line change 2727 continue-api-key : ${{ secrets.CONTINUE_API_KEY }}
2828 continue-org : " test-org"
2929 continue-config : " test-org/review-bot"
30+ app_id : ${{ secrets.CONTINUE_APP_ID }}
31+ app_private_key : ${{ secrets.CONTINUE_APP_PRIVATE_KEY }}
3032 # use_github_app defaults to true
3133
3234 # Test without GitHub App (fallback mode)
6264 continue-api-key : ${{ secrets.CONTINUE_API_KEY }}
6365 continue-org : " test-org"
6466 continue-config : " test-org/review-bot"
67+ app_id : ${{ secrets.CONTINUE_APP_ID }}
68+ app_private_key : ${{ secrets.CONTINUE_APP_PRIVATE_KEY }}
6569 # use_github_app defaults to true
Original file line number Diff line number Diff line change @@ -16,17 +16,23 @@ inputs:
1616 description : " Use Continue Agent GitHub App for bot identity (requires app installation)"
1717 default : " true"
1818 required : false
19+ app_id :
20+ description : " GitHub App ID (required if use_github_app is true)"
21+ required : false
22+ app_private_key :
23+ description : " GitHub App Private Key (required if use_github_app is true)"
24+ required : false
1925
2026runs :
2127 using : " composite"
2228 steps :
2329 - name : Generate Continue Agent App Token
24- if : inputs.use_github_app == 'true'
30+ if : inputs.use_github_app == 'true' && inputs.app_id != '' && inputs.app_private_key != ''
2531 id : app-token
2632 uses : actions/create-github-app-token@v2
2733 with :
28- app-id : ${{ vars.CONTINUE_APP_ID }}
29- private-key : ${{ secrets.CONTINUE_APP_PRIVATE_KEY }}
34+ app-id : ${{ inputs.app_id }}
35+ private-key : ${{ inputs.app_private_key }}
3036 continue-on-error : true
3137
3238 - name : Verify App Installation
Original file line number Diff line number Diff line change @@ -16,17 +16,23 @@ inputs:
1616 description : " Use Continue Agent GitHub App for bot identity (requires app installation)"
1717 default : " true"
1818 required : false
19+ app_id :
20+ description : " GitHub App ID (required if use_github_app is true)"
21+ required : false
22+ app_private_key :
23+ description : " GitHub App Private Key (required if use_github_app is true)"
24+ required : false
1925
2026runs :
2127 using : " composite"
2228 steps :
2329 - name : Generate Continue Agent App Token
24- if : inputs.use_github_app == 'true'
30+ if : inputs.use_github_app == 'true' && inputs.app_id != '' && inputs.app_private_key != ''
2531 id : app-token
2632 uses : actions/create-github-app-token@v2
2733 with :
28- app-id : ${{ vars.CONTINUE_APP_ID }}
29- private-key : ${{ secrets.CONTINUE_APP_PRIVATE_KEY }}
34+ app-id : ${{ inputs.app_id }}
35+ private-key : ${{ inputs.app_private_key }}
3036 continue-on-error : true
3137
3238 - name : Verify App Installation
You can’t perform that action at this time.
0 commit comments