Skip to content

Commit

Permalink
fix: check for responseRequested label before removing
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertk committed May 7, 2020
1 parent 325053c commit 062765f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/entrypoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ async function processIssues(client, args) {
);
} else {
await removeLabel(client, issue, staleLabel);
await removeLabel(client, issue, responseRequestedLabel);
if (isLabeled(issue, responseRequestedLabel)) {
await removeLabel(client, issue, responseRequestedLabel);
}
}
} else {
if (currentTime > sTime) {
Expand Down

0 comments on commit 062765f

Please sign in to comment.