diff --git a/.github/workflows/fuzzing.yml b/.github/workflows/fuzzing.yml index 251e46fed7..4b9e00385f 100644 --- a/.github/workflows/fuzzing.yml +++ b/.github/workflows/fuzzing.yml @@ -100,7 +100,7 @@ jobs: echo "Found Fuzzing scripts: ${fuzzing_scripts[@]}" current_week=($(date -u +%U)) echo "Current week number: $current_week" - at_index=$((($(date -u +%U) % ${#fuzzing_scripts[@]}))) + at_index=$(((10#$(date -u +%U)) % ${#fuzzing_scripts[@]})) selected_script="${fuzzing_scripts[$at_index]}" echo "Selected script: $selected_script" timeout --preserve-status --signal=SIGINT 60m python $selected_script \ No newline at end of file