Skip to content

Commit 10772eb

Browse files
authored
ci: use lgtm gh action (#341)
1 parent 5f2efaf commit 10772eb

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/lgtm.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,8 @@ jobs:
4040
ref: refs/pull/${{ github.event.issue.number }}/merge
4141

4242
- name: Run LGTM Review
43-
run: |
44-
docker run --rm \
45-
-v "${{ github.workspace }}:/workspace" \
46-
-w /workspace \
47-
elementsinteractive/lgtm-ai \
48-
review \
49-
--git-api-key "${{ secrets.GITHUB_TOKEN }}" \
50-
--ai-api-key "${{ secrets.AI_API_TOKEN }}" \
51-
-vv \
52-
"https://github.com/${{ github.repository }}/pull/${{ github.event.issue.number }}"
43+
uses: elementsinteractive/lgtm-ai-action@v1
44+
with:
45+
ai-api-key: ${{ secrets.AI_API_TOKEN }}
46+
git-api-key: ${{ secrets.GITHUB_TOKEN }}
47+
pr-number: ${{ github.event.issue.number }}

0 commit comments

Comments
 (0)