File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -334,9 +334,13 @@ jobs:
334334 fi
335335
336336 # If repo uses a Go workspace, increase detector search depth so Detect finds
337- # go.mod files inside module subdirectories (default depth 0 = root only = only Git found)
337+ # go.mod files inside module subdirectories (default depth 0 = root only = only Git found).
338+ # Also set accuracy.required=NONE: Detect's default HIGH accuracy check fails for multi-module
339+ # Go workspaces (FAILURE_ACCURACY_NOT_MET / exit 15) because it can't fully resolve the graph
340+ # via `go list` across workspace modules. Vendor mode resolves deps; accuracy=NONE lets it proceed.
338341 if [[ -f "go.work" ]]; then
339342 DETECT_ARGS="${DETECT_ARGS} --detect.detector.search.depth=${{ env.GO_WORK_DETECTOR_DEPTH }}"
343+ DETECT_ARGS="${DETECT_ARGS} --detect.accuracy.required=NONE"
340344 fi
341345
342346 echo "DETECT_ARGS=${DETECT_ARGS}" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments