Skip to content

Commit e9be26d

Browse files
authored
Update close-innactive-issues-without-repro.yaml
Logic validated, changing back to 168 hours / 1 week of no activity post repro needed tag added. FINAL COMMIT
1 parent 2bf336f commit e9be26d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/close-innactive-issues-without-repro.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
6565
# Check if at least 168 hours have passed since the label was added
6666
current_time=$(date --utc +'%Y-%m-%dT%H:%M:%SZ')
67-
is_week_old=$(dateutils.ddiff "$label_added_at" "$current_time" -f '%H:%M:%S' | awk -F: '{if ($1 >= 30) print "yes"; else print "no";}')
67+
is_week_old=$(dateutils.ddiff "$label_added_at" "$current_time" -f '%H:%M:%S' | awk -F: '{if ($1 >= 168) print "yes"; else print "no";}')
6868
6969
if [ "$is_week_old" = "yes" ] && [ "$has_activity_after_label" = "0" ]; then
7070
echo "Commenting and closing issue $issue..."

0 commit comments

Comments
 (0)