Skip to content

Commit 7592c91

Browse files
authored
Merge pull request #5 from elementsinteractive/add-lgtm-docker
ci: add docker command for lgtm to action
2 parents cb6708d + ff4aa67 commit 7592c91

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/lgtm.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ jobs:
1616
with:
1717
ref: refs/pull/${{ github.event.issue.number }}/merge
1818

19-
- name: Run logic
19+
- name: Run LGTM Review
2020
run: |
21-
echo "Running manually triggered workflow on PR #${{ github.event.issue.number }}"
22-
echo "Pull Request URL: https://github.com/${{ github.repository }}/pull/${{ github.event.issue.number }}"
21+
docker run --rm elementsinteractive/lgtm-ai \
22+
lgtm review --pr-url "https://github.com/${{ github.repository }}/pull/${{ github.event.issue.number }}" \
23+
--git-api-key "${{ secrets.GITHUB_TOKEN }}" \
24+
--ai-api-key "${{ secrets.AI_API_TOKEN }}" \
25+
--model "gemini-2.5-pro-preview-05-06" \
26+
--publish
27+
-vv

0 commit comments

Comments
 (0)