diff --git a/.gitea/workflows/pr-ask-template.yml b/.gitea/workflows/pr-ask-template.yml index 84d9200..1936b20 100644 --- a/.gitea/workflows/pr-ask-template.yml +++ b/.gitea/workflows/pr-ask-template.yml @@ -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" diff --git a/.gitea/workflows/pr-review-template.yml b/.gitea/workflows/pr-review-template.yml index aaecf8d..0cdd86d 100644 --- a/.gitea/workflows/pr-review-template.yml +++ b/.gitea/workflows/pr-review-template.yml @@ -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