Fixing the URL names

This commit is contained in:
2026-08-26 09:47:45 +03:00
parent 98374881ba
commit 9ca66c2b46
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -18,7 +18,7 @@ on:
required: true
type: "string"
pull_request_html:
pull_request_html_url:
description: "html url of the pull request being asked about"
required: true
type: "string"
@@ -34,7 +34,7 @@ jobs:
COMMENT_BODY: ${{ inputs.comment_body }}
ISSUE_NUMBER: ${{ inputs.issue_number }}
COMMENT_ID: ${{ inputs.comment_id }}
PULL_REQUEST_HTML: ${{ inputs.pull_request_html }}
PULL_REQUEST_HTML_URL: ${{ inputs.pull_request_html }}
run: |
question="${COMMENT_BODY#/ask}"
question="$(echo "$question" | sed -e 's/^[[:space:]]*//')"
@@ -45,5 +45,5 @@ jobs:
-e LLM_MODEL="ive-brain" \
-e GRAPH_PATH_REPO=".gitea/graphify-out/graph.json" \
pr-review-agent:local \
--pr-url="$PULL_REQUEST_HTML" \
--pr-url="$PULL_REQUEST_HTML_URL" \
--ask="$question"
+3 -3
View File
@@ -28,11 +28,11 @@ jobs:
env:
REVIEW_PROJECT_RULES: ${{inputs.review_project_rules}}
PULL_REQUEST_NUMBER: ${{inputs.pull_request_number}}
PULL_REQUEST_HTML: ${{inputs.pull_request_html_url}}
PULL_REQUEST_HTML_URL: ${{inputs.pull_request_html_url}}
run: |
echo "Project rules: $REVIEW_PROJECT_RULES"
echo "Pull request number: $PULL_REQUEST_NUMBER"
echo "Pull request html url: $PULL_REQUEST_HTML"
echo "Pull request html url: $PULL_REQUEST_HTML_URL"
container="pr-review-$PULL_REQUEST_NUMBER"
docker rm -f "$container" 2>/dev/null || true
timeout 300m docker run --rm --name "$container" \
@@ -41,4 +41,4 @@ jobs:
-e GRAPH_PATH_REPO=".gitea/graphify-out/graph.json" \
-e REVIEW_PROJECT_RULES \
pr-review-agent:local \
--pr-url=$PULL_REQUEST_HTML
--pr-url=$PULL_REQUEST_HTML_URL