Skip to content

Commit 9d2ac50

Browse files
committed
pull_request.yml: Print total reward weight
1 parent 88c53b5 commit 9d2ac50

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,19 @@ jobs:
5454
5555
total_weight_diff=$((total_weight_new - total_weight_orig))
5656
57+
echo "INFO: Current total reward weight for $f is: $total_weight_orig."
58+
5759
if [[ "$total_weight_diff" == "0" ]]; then
5860
echo "INFO: Total reward weight diff for $f is: $total_weight_diff."
5961
elif [[ "$allow_total_reward_weight_change" == "true" ]]; then
6062
echo "INFO: Total reward weight diff for $f is: $total_weight_diff. The change is allowed."
63+
echo "INFO: New total reward weight for $f is: $total_weight_new."
6164
else
6265
echo "ERROR: Total reward weight diff for $f is: $total_weight_diff. The change is not allowed. Add $mark to the commit message to override." >&2
6366
exit_code=1
6467
fi
68+
69+
echo
6570
done
6671
6772
exit "$exit_code"

0 commit comments

Comments
 (0)