Commit 0a2ef73
committed
Update stale action logic
There was a race condition because this acts on an hourly poll, so if a
user replied to an issue that "Needs: Author Feedback" within an
hour...it would still get marked stale. Instead, we're doing away with
the "Stale" label and simplifying our workflow to just adding either a
resolved label (which will then have a "Needs: Fix Verification" added
as the stale label) or just "Needs: Author Feedback" which is the stale
label. For resolved issues, if it remains stale for a week, it will
close. If it's updated it'll have "Needs: Maintainer Attention" applied
and then exempted from closing so we can check. For issues we've marked
as "Needs: Author Feedback" since this is the stale label, it won't
automatically add anything, which means instead it's immediately stale
from the moment we add the label (eliminating the race condition). So it
should shuffle the labels for us correctly and close after a week.1 parent 99ccbb3 commit 0a2ef73
1 file changed
+13
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | | - | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | | - | |
34 | 37 | | |
35 | | - | |
| 38 | + | |
0 commit comments