You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"The `/reopen` command only reopens issues that were closed by stale cleanup. If this issue should be reopened, please add the current reproduction details so a maintainer can review it.",
].join("\n"),
});
return;
}
await github.rest.issues.update({
owner,
repo,
issue_number: issue.number,
state: "open",
state_reason: "reopened",
});
try {
await github.rest.issues.removeLabel({
owner,
repo,
issue_number: issue.number,
name: staleClosedLabel,
});
} catch (error) {
if (error.status !== 404) throw error;
}
core.info(`Reopened issue #${issue.number} because @${comment.user.login} used /reopen.`);