Skip to content

Commit 0cb00d5

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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)