From 9975df335778402f3ba4a596c906699e42870b33 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Thu, 11 Apr 2024 00:12:23 +0200 Subject: [PATCH] reviewdog: don't send stderr to slack for pip-audit and tfsec FIXME --- assets/reviewdog/reviewdog.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/reviewdog/reviewdog.yml b/assets/reviewdog/reviewdog.yml index 7b97b073..6f24501c 100644 --- a/assets/reviewdog/reviewdog.yml +++ b/assets/reviewdog/reviewdog.yml @@ -64,7 +64,7 @@ runner: (xargs -0 -n1 -a $SCRIPTPATH/all_changed_files.txt | grep '\.tf$' | xargs -r -d '\n' dirname | sort -u \ | xargs -r -d '\n' $SCRIPTPATH/tfsec.sh \ | jq -r '.diagnostics[] | "\(.severity[0:1]):\(.location.path):\(.location.range.start.line) \(.message | sub("\n";"
";"g"))

source: \(.code.url)

"' \ - | $SCRIPTPATH/cleaner.rb) 2> reviewdog.tfsec.stderr.log + | $SCRIPTPATH/cleaner.rb) 2> /dev/null # TODO: reviewdog.tfsec.stderr.log errorformat: - "%t:%f:%l %m" brakeman: @@ -97,6 +97,6 @@ runner: cmd: | set -e (python3 $SCRIPTPATH/pip-audit.py \ - | $SCRIPTPATH/cleaner.rb) 2> reviewdog.pip-audit.stderr.log + | $SCRIPTPATH/cleaner.rb) 2> /dev/null # reviewdog.pip-audit.stderr.log errorformat: - "%t:%f:%l %m"