File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ foreach($oldIssue in $oldIssues) {
12
12
$lastLabelEventDate = [datetime ]::Parse($lastLabelEvent.created_at )
13
13
if ($lastCommentDate -gt $lastLabelEventDate ) {
14
14
gh issue edit $oldIssue.number -- remove-label " $Env: NO_RECENT_ACTIVITY_LABEL " -- remove-label " $Env: NEEDS_AUTHOR_FEEDBACK_LABEL " -- add-label " $Env: NEEDS_ATTENTION_LABEL "
15
- } elseif (($lastCommentDate - $lastLabelEventDate ) -le $inactivityDelay ) {
15
+ } elseif (($lastLabelEventDate - $lastCommentDate ) -ge $inactivityDelay ) {
16
16
gh issue close $oldIssue.number - r " not planned"
17
17
}
18
18
}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ foreach($oldIssue in $oldIssues) {
12
12
$lastLabelEventDate = [datetime ]::Parse($lastLabelEvent.created_at )
13
13
if ($lastCommentDate -gt $lastLabelEventDate ) {
14
14
gh issue edit $oldIssue.number -- remove-label " $Env: NO_RECENT_ACTIVITY_LABEL " -- remove-label " $Env: NEEDS_AUTHOR_FEEDBACK_LABEL " -- add-label " $Env: NEEDS_ATTENTION_LABEL "
15
- } elseif (($lastCommentDate - $lastLabelEventDate ) -le $inactivityDelay ) {
15
+ } elseif (($lastLabelEventDate - $lastCommentDate ) -ge $inactivityDelay ) {
16
16
gh issue edit $oldIssue.number -- add-label " $Env: NO_RECENT_ACTIVITY_LABEL " -- remove-label " $Env: NEEDS_ATTENTION_LABEL "
17
17
gh issue comment $oldIssue.number - b " $Env: NO_RECENT_ACTIVITY_COMMENT "
18
18
}
You can’t perform that action at this time.
0 commit comments