Skip to content

Commit 3bcef63

Browse files
authored
repo sync
2 parents 7e338d0 + dc36539 commit 3bcef63

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/repo-sync-stalls.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ jobs:
3636
return
3737
}
3838
39+
// Remove all pull requests that don't have the
40+
// 'automated-reposync-pr' label
41+
pulls.data = pulls.data.filter(pr =>
42+
pr.labels.some(label => label.name === 'automated-reposync-pr')
43+
)
44+
45+
// Search for pull requests that have been open too long
3946
pulls.data.forEach(pr => {
4047
const timeDelta = Date.now() - Date.parse(pr.created_at);
4148
const minutesOpen = timeDelta / 1000 / 60;

0 commit comments

Comments
 (0)