Skip to content

Commit c64999c

Browse files
adjust timing in add-label.js (#8153)
1 parent 370a34e commit c64999c

File tree

1 file changed

+1
-0
lines changed
  • github-actions/trigger-schedule/add-update-label-weekly

1 file changed

+1
-0
lines changed

github-actions/trigger-schedule/add-update-label-weekly/add-label.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const threeDayCutoffTime = new Date();
3838
threeDayCutoffTime.setDate(threeDayCutoffTime.getDate() - updatedByDays);
3939
const sevenDayCutoffTime = new Date();
4040
sevenDayCutoffTime.setDate(sevenDayCutoffTime.getDate() - commentByDays);
41+
sevenDayCutoffTime.setMinutes(sevenDayCutoffTime.getMinutes() + 10); // Set cutoff time to slightly less than 7 days ago
4142
const fourteenDayCutoffTime = new Date();
4243
fourteenDayCutoffTime.setDate(fourteenDayCutoffTime.getDate() - inactiveUpdatedByDays);
4344
const upperLimitCutoffTime = new Date();

0 commit comments

Comments
 (0)