Skip to content

Commit f242d54

Browse files
committed
ci: add 'sleep 1' to vale review posts to avoid limiting
1 parent 64744f1 commit f242d54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/prow-vale-review.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ do
131131
if (( LINE_NUMBER >= diff_start_line && LINE_NUMBER <= diff_start_line + added_lines )); then
132132

133133
post_review_comment "$BODY" "$FILENAME" "$LINE_NUMBER"
134+
sleep 1 # Pause between POST requests to avoid limiting
134135

135136
break # Exit the loop since the alert is within the diff, move on to the next JSON object
136137
else

0 commit comments

Comments
 (0)