diff --git a/scripts/prose-ai-review.sh b/scripts/prose-ai-review.sh index 4c48284..4782891 100755 --- a/scripts/prose-ai-review.sh +++ b/scripts/prose-ai-review.sh @@ -11,9 +11,8 @@ GITEA_API="https://git.sysloggh.net/api/v1" # Get PR context from Gitea Actions environment # For push events: GITEA_REPOSITORY, GITEA_SHA -# For PR events: GITEA_REPOSITORY, GITEA_BASE_REF, GITEA_HEAD_REF -REPO="${GITEA_REPOSITORY:-${{ gitea.repository }}}" -BASE_REF="${GITEA_BASE_REF:-${GITEA_REF:-refs/heads/master}}" +REPO="${GITEA_REPOSITORY:-}" +BASE_REF="${GITEA_BASE_REF:-refs/heads/master}" HEAD_REF="${GITEA_HEAD_REF:-}" SHA="${GITEA_SHA:-}"