Fixing bugs
This commit is contained in:
@@ -4,18 +4,18 @@ on:
|
|||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
review_project_rules:
|
review_project_rules:
|
||||||
descreption: "Repo based prompts"
|
description: "Repo based prompts"
|
||||||
required: true
|
required: true
|
||||||
type: "string"
|
type: "string"
|
||||||
default: ""
|
default: ""
|
||||||
|
|
||||||
pull_request_number:
|
pull_request_number:
|
||||||
descreption: "pull request number"
|
description: "pull request number"
|
||||||
required: true
|
required: true
|
||||||
type: "string"
|
type: "string"
|
||||||
|
|
||||||
pull_request_html:
|
pull_request_html:
|
||||||
descreption: "string html for pull request"
|
description: "string html for pull request"
|
||||||
required: true
|
required: true
|
||||||
type: "string"
|
type: "string"
|
||||||
jobs:
|
jobs:
|
||||||
@@ -35,10 +35,10 @@ jobs:
|
|||||||
echo "Pull request html url: $PULL_REQUEST_HTML"
|
echo "Pull request html url: $PULL_REQUEST_HTML"
|
||||||
container="pr-review-$PULL_REQUEST_NUMBER"
|
container="pr-review-$PULL_REQUEST_NUMBER"
|
||||||
docker rm -f "$container" 2>/dev/null || true
|
docker rm -f "$container" 2>/dev/null || true
|
||||||
docker stop $container && timeout 300m docker run --rm --name "$container" \
|
timeout 300m docker run --rm --name "$container" \
|
||||||
-e LLM_BASE_URL="http://10.2.2.54:5625/v1" \
|
-e LLM_BASE_URL="http://10.2.2.54:5625/v1" \
|
||||||
-e LLM_MODEL="ive-brain" \
|
-e LLM_MODEL="ive-brain" \
|
||||||
-e GRAPH_PATH_REPO=".gitea/graphify-out/graph.json" \
|
-e GRAPH_PATH_REPO=".gitea/graphify-out/graph.json" \
|
||||||
-e $REVIEW_PROJECT_RULES \
|
-e REVIEW_PROJECT_RULES \
|
||||||
pr-review-agent:local \
|
pr-review-agent:local \
|
||||||
--pr-url=$PULL_REQUEST_HTML
|
--pr-url=$PULL_REQUEST_HTML
|
||||||
|
|||||||
Reference in New Issue
Block a user