We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7e338d0 + dc36539 commit 3bcef63Copy full SHA for 3bcef63
1 file changed
.github/workflows/repo-sync-stalls.yml
@@ -36,6 +36,13 @@ jobs:
36
return
37
}
38
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
46
pulls.data.forEach(pr => {
47
const timeDelta = Date.now() - Date.parse(pr.created_at);
48
const minutesOpen = timeDelta / 1000 / 60;
0 commit comments