Skip to content

Commit 5b70fa0

Browse files
committed
API_KEY variable name consistent
1 parent cfb2751 commit 5b70fa0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ inputs:
1818
prompt:
1919
description: 'The prompt to send to Auggie agent'
2020
required: true
21-
augment_api_token:
22-
description: 'Augment API token for authentication'
21+
augment_api_key:
22+
description: 'Augment API key for authentication'
2323
required: false
2424
augment_api_url:
2525
description: 'Augment API URL'
@@ -60,7 +60,7 @@ runs:
6060
INPUT_COMMENT_ID: ${{ inputs.comment_id }}
6161
INPUT_EVENT_NAME: ${{ inputs.event_name }}
6262
INPUT_PROMPT: ${{ inputs.prompt }}
63-
INPUT_AUGMENT_API_TOKEN: ${{ inputs.augment_api_token }}
63+
INPUT_AUGMENT_API_KEY: ${{ inputs.augment_api_key }}
6464
INPUT_AUGMENT_API_URL: ${{ inputs.augment_api_url }}
6565
INPUT_WORKSPACE_ROOT: ${{ inputs.workspace_root }}
6666
GITHUB_REPOSITORY: ${{ github.repository }}

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async function main(): Promise<void> {
8383
const commentIdStr = getInput("comment_id", true);
8484
const eventName = getInput("event_name", true);
8585
const prompt = getInput("prompt", true);
86-
const augmentApiToken = getInput("augment_api_token");
86+
const augmentApiKey = getInput("augment_api_key");
8787
const augmentApiUrl = getInput("augment_api_url");
8888
const workspaceRoot = getInput("workspace_root");
8989

@@ -105,7 +105,7 @@ async function main(): Promise<void> {
105105
core.info("🚀 Running Auggie agent...");
106106
const response = await runAuggie({
107107
prompt,
108-
apiKey: augmentApiToken,
108+
apiKey: augmentApiKey,
109109
apiUrl: augmentApiUrl,
110110
workspaceRoot: workspaceRoot || undefined,
111111
});

0 commit comments

Comments
 (0)