Repository navigation
Commit 2e99fb8
committed
fix(ci): give a manual run of scan-and-report.yml its inputs
Run 42862049822, the first run of this file by workflow_dispatch,
failed at "Run scan": "a value is required for '<TARGET>' but none was
supplied". The fetch and build steps of #286 passed in that run.
repo_path and fail_on_severity are declared under workflow_call only.
A workflow_dispatch run has its own inputs context, so both were empty
strings: the scan had no target, and the severity gate would then
reject the empty threshold. The step before #286 had the same defect,
because it expanded the same empty input.
Declare both inputs under workflow_dispatch with the same names and
defaults. The expressions in the steps do not change, so an explicit
bad value from a caller is still refused.
Refs #276
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0136P7ZmAsYpFA9gxfQLF3F6
Signed-off-by: Claude <noreply@anthropic.com>1 parent 4f51cca commit 2e99fb8
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
30 | 43 | | |
31 | 44 | | |
32 | 45 | | |
| |||
0 commit comments