We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9559737 commit 2a79741Copy full SHA for 2a79741
1 file changed
.github/workflows/claude-code-dependency-review.yml
@@ -18,6 +18,11 @@ on:
18
ACTIONS_APP_PRIVATE_KEY:
19
required: false
20
description: Private key for the GitHub App used to access private repositories
21
+ inputs:
22
+ ACTIONS_APP_ID:
23
+ required: false
24
+ type: string
25
+ description: App ID for the GitHub App used to access private repositories
26
27
jobs:
28
dependency-review:
@@ -36,11 +41,11 @@ jobs:
36
41
fetch-depth: 1
37
42
38
43
- name: Generate token for private repositories
39
- if: vars.ACTIONS_APP_ID != ''
44
+ if: inputs.ACTIONS_APP_ID != ''
40
45
uses: actions/create-github-app-token@v1
46
id: app-token
47
with:
- app-id: ${{ vars.ACTIONS_APP_ID }}
48
+ app-id: ${{ inputs.ACTIONS_APP_ID }}
49
private-key: ${{ secrets.ACTIONS_APP_PRIVATE_KEY }}
50
owner: ${{ github.repository_owner }}
51
0 commit comments