Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhenghao committed Oct 20, 2023
1 parent 50fdf25 commit 74ecb18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74ecb18

Please sign in to comment.