Skip to content

Commit 1e9b2ed

Browse files
committed
fix: adapt to lgtm-ai breaking change
1 parent b6948cf commit 1e9b2ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "LGTM AI Code Review"
2-
description: "AI-powered code review for pull requests"
2+
description: "AI-powered code reviewer for pull requests"
33
author: "Elements Interactive"
44

55
branding:
@@ -62,7 +62,6 @@ runs:
6262
# Build arguments as an array for safety (avoids word-splitting issues)
6363
ARGS=(
6464
review
65-
--pr-url "https://github.com/${{ github.repository }}/pull/${{ inputs.pr-number }}"
6665
--git-api-key "${{ inputs.git-api-key }}"
6766
--ai-api-key "${{ inputs.ai-api-key }}"
6867
)
@@ -105,4 +104,5 @@ runs:
105104
-v "${{ github.workspace }}:/workspace" \
106105
-w /workspace \
107106
elementsinteractive/lgtm-ai:${{ inputs.version }} \
108-
"${ARGS[@]}"
107+
"${ARGS[@]}" \
108+
"https://github.com/${{ github.repository }}/pull/${{ inputs.pr-number }}"

0 commit comments

Comments
 (0)