Skip to content

Commit 656eb85

Browse files
Update unassign-stale-issues.yml
1 parent fde8822 commit 656eb85

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/unassign-stale-issues.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ jobs:
3737
});
3838
3939
// Find the first assignment event date
40-
const assignedEvent = timeline.find(event => event.event === 'assigned');
41-
const assignedEvents = timeline.filter(e => e.event === 'assigned');
42-
const assignedEvent = assignedEvents.at(-1); // latest
40+
const assignedEvent = timeline.filter(e => e.event === 'assigned').at(-1);// latest
4341
if (!assignedEvent) {
4442
// No assignment event found, skip issue
4543
continue;

0 commit comments

Comments
 (0)