fix(ci): leak-check uses awk instead of sed (shellcheck SC2001)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
22ae9d1de5
commit
3043188da2
1 changed files with 1 additions and 1 deletions
2
.github/workflows/leak-check.yml
vendored
2
.github/workflows/leak-check.yml
vendored
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
hits=$(git ls-files | xargs grep -lE "$PATTERN" 2>/dev/null | grep -vE "$ALLOWLIST" || true)
|
||||
if [[ -n "$hits" ]]; then
|
||||
echo "::error::username-path leak detected"
|
||||
echo "$hits" | sed 's/^/ /'
|
||||
echo "$hits" | awk '{print " " $0}'
|
||||
echo
|
||||
echo "Replace absolute home paths with placeholders:"
|
||||
echo " ~/.claude/projects/-Users-<user>/memory/ -> ~/.claude/memory/"
|
||||
|
|
|
|||
Loading…
Reference in a new issue