post-llm-review/action.yml
Shrikanth Upadhayaya ff2d6595fb
Init
2025-04-02 16:06:02 -04:00

47 lines
1.2 KiB
YAML

name: "Post an LLM review to a Design Review on AllSpice Hub"
description: >
Post on review created using LLM Review as a review on a Design Review on
AllSpice Hub.
inputs:
review_json_path:
description: "Path to the JSON file containing the review."
required: true
ir_json_path:
description: "Path to the JSON file of the schematic."
required: true
svg_path:
description: "Path to the SVG file containing the schematic design."
required: true
file_path:
description: The path to the file that has been reviewed.
required: true
runs:
using: "docker"
image: "Dockerfile"
args:
- "--allspice-hub-url"
- ${{ github.server_url }}
- "--repository"
- ${{ github.repository }}
- "--design-review-number"
- ${{ github.event.number }}
- "--review-json"
- "${{ github.workspace }}/${{ inputs.review_json_path }}"
- "--ir-json"
- "${{ github.workspace }}/${{ inputs.ir_json_path }}"
- "--svg"
- "${{ github.workspace }}/${{ inputs.svg_path }}"
- "--file-path"
- "${{ inputs.file_path }}"
- "--base-commit"
- "${{ github.event.pull_request.base.sha }}"
- "--head-commit"
- "${{ github.event.pull_request.head.sha }}"
env:
ALLSPICE_TOKEN: ${{ github.token }}