Skip to content

Commit 79280d5

Browse files
msukkariclaude
andcommitted
fix: allow triage job to run when Trivy scan is skipped
When called from external repos (e.g., zoekt), the Trivy Scan job is skipped because the repository doesn't match sourcebot-dev/sourcebot. Add always() && !cancelled() to the triage job condition so it proceeds based on Dependabot/CodeQL alerts even when Trivy is skipped. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a2b8b7b commit 79280d5

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/vulnerability-triage.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,11 @@ jobs:
232232
name: Claude Analysis & Linear Triage
233233
needs: [scan, check-alerts]
234234
if: >-
235-
needs.scan.outputs.has_vulnerabilities == 'true' ||
236-
needs.check-alerts.outputs.has_alerts == 'true' ||
237-
inputs.force_analysis == true
235+
always() && !cancelled() && (
236+
needs.scan.outputs.has_vulnerabilities == 'true' ||
237+
needs.check-alerts.outputs.has_alerts == 'true' ||
238+
inputs.force_analysis == true
239+
)
238240
runs-on: ubuntu-latest
239241
steps:
240242
- name: Checkout repository

0 commit comments

Comments
 (0)