File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ jobs:
100100 --flow ${{inputs.flow_name}} \
101101 --org ${{inputs.kosli_org}} \
102102 --no-assert \
103- --output json > "4eyes-eval-${{inputs.trail_name}}.json"
103+ --output json > "4eyes-eval-${{inputs.trail_name}}.json" || echo '{"allow":false,"violations":["evaluate command failed"]}' > "4eyes-eval-${{inputs.trail_name}}.json"
104104
105105 - name : Report four-eyes attestation to Kosli
106106 if : ${{ inputs.report_to_kosli == 'all' }}
Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ attestation_name := name if {
2020#
2121# Used with `kosli evaluate trails` (plural). Each trail in input.trails
2222# represents one commit. The PR attestation payload is at:
23- # trail.compliance_status.attestations_statuses["pr-review" ]
23+ # trail.compliance_status.attestations_statuses[attestation_name ]
2424#
25- # Attested via: kosli attest pullrequest github --name pr-review --commit <sha>
25+ # Attested via: kosli attest pullrequest github --name <attestation_name> --commit <sha>
2626# ---------------------------------------------------------------------------
2727
2828# Extract PR attestation payload from a trail.
You can’t perform that action at this time.
0 commit comments