Skip to content

Commit d5b74a9

Browse files
authored
Merge pull request #104085 from maxwelldb/fix-vale-json-payload
[prow/ci] add 'sleep 1' to vale review script to avoid limiting
2 parents 48895db + f242d54 commit d5b74a9

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)