From 74ecb186c6c4b71acf999e324d6fdd2e66840012 Mon Sep 17 00:00:00 2001 From: pengzhenghao Date: Thu, 19 Oct 2023 21:57:16 -0700 Subject: [PATCH] up --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e4cfb72b9..bc347cc52 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -57,9 +57,9 @@ jobs: exit 1 fi printf 'Docstring coverage check successful! We require the docstring coverage to be non-decreasing after PR. You have changed the coverage by: %s%%\n' "$improvement" - roundedbefore=`printf "%.3f" $roundedbefore` - roundedafter=`printf "%.3f" $roundedafter` - ROBOTMSG="Docstring coverage check successful! You have changed the coverage from ${roundedbefore}\% to ${roundedafter}\% by ${improvement}\%." + roundedbefore=`printf "%.3f" $before` + roundedafter=`printf "%.3f" $after` + ROBOTMSG="You have changed the docstring coverage from ${roundedbefore}\% to ${roundedafter}\% by ${improvement}\%." echo $ROBOTMSG echo "ROBOTMSG=$ROBOTMSG" >> "$GITHUB_ENV" - uses: actions/github-script@v6