Skip to content

Commit 7f821a1

Browse files
committed
Decrease API polling frequency
We are hitting github limits, lets poll less often workflow results. Signed-off-by: Denys Fedoryshchenko <[email protected]>
1 parent df1cd4c commit 7f821a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

staging.kernelci.org

+2-2
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ cmd_ghworkflow() {
224224

225225
# wait for the workflow to finish
226226
while true; do
227-
echo "Waiting for workflow to finish..."
228-
sleep 10
227+
echo "Waiting for workflow to finish... (60 seconds)"
228+
sleep 60
229229
status=$(curl -s -X GET "https://api.github.com/repos/kernelci/kernelci-core/actions/workflows/staging.yml/runs" | jq -r '.workflow_runs[0].status')
230230
if [ "$status" = "completed" ]; then
231231
break

0 commit comments

Comments
 (0)