Skip to content

Commit 7ef9844

Browse files
authored
fix: week error in fuzzing scripts (#4892) (#4897)
1 parent d3ac5f0 commit 7ef9844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/fuzzing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
echo "Found Fuzzing scripts: ${fuzzing_scripts[@]}"
101101
current_week=($(date -u +%U))
102102
echo "Current week number: $current_week"
103-
at_index=$((($(date -u +%U) % ${#fuzzing_scripts[@]})))
103+
at_index=$(((10#$(date -u +%U)) % ${#fuzzing_scripts[@]}))
104104
selected_script="${fuzzing_scripts[$at_index]}"
105105
echo "Selected script: $selected_script"
106106
timeout --preserve-status --signal=SIGINT 60m python $selected_script

0 commit comments

Comments
 (0)