Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Add Hodor AI code review workflow (#2937)

Karan Sharma19b53d8d1201
diff --git a/.github/workflows/hodor-review.yml b/.github/workflows/hodor-review.yml
index c13d24f2..d342aaec 100644
--- a/.github/workflows/hodor-review.yml
+++ b/.github/workflows/hodor-review.yml
@@ -1,7 +1,7 @@
name: Hodor AI Code Review
on:
- pull_request:
+ pull_request_target:
types: [opened, synchronize]
paths-ignore:
- 'i18n/**'
@@ -15,12 +15,13 @@ permissions:
jobs:
review:
+ if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Run Hodor review
uses: addnab/docker-run-action@v3
with:
- image: ghcr.io/mr-karan/hodor:0.2.14
+ image: ghcr.io/mr-karan/hodor:0.3.2
options: >-
-e GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
-e LLM_API_KEY=${{ secrets.LLM_API_KEY }}