38 lines
940 B
YAML
38 lines
940 B
YAML
name: "BOM Diff Generator"
|
|
description: "Generate a CSV diff between two BOM files with configurable column mapping"
|
|
|
|
|
|
inputs:
|
|
bom_old:
|
|
description: "Path to the original BOM CSV file"
|
|
required: true
|
|
bom_new:
|
|
description: "Path to the updated BOM CSV file"
|
|
required: true
|
|
column_file:
|
|
description: "Path to the YAML column mapping file"
|
|
required: true
|
|
out_file:
|
|
description: "Path to write the diff CSV output"
|
|
required: true
|
|
|
|
runs:
|
|
using: "docker"
|
|
image: "Dockerfile"
|
|
args:
|
|
- "--bom_old"
|
|
- ${{ inputs.bom_old }}
|
|
- "--bom_new"
|
|
- ${{ inputs.bom_new }}
|
|
- "--column_file"
|
|
- ${{ inputs.columns }}
|
|
- "--out_file"
|
|
- "${{ github.workspace}}/${{ inputs.output_file}}"
|
|
- "--source_ref"
|
|
- ${{ allspice.sha }}
|
|
- "--server_url"
|
|
- ${{ allspice.server_url }}
|
|
- "--allspice_token"
|
|
- ${{ secrets.ALLSPICE_TOKEN }}
|
|
env:
|
|
GITHUB_TOKEN: ${{ github.token }} |