Commit c80de1e6 authored by Muyang Li's avatar Muyang Li
Browse files

[Auto Merge] chore: add a workflow to reopen the inactive issues

parents 0073b06c 59eaa029
...@@ -69,7 +69,7 @@ jobs: ...@@ -69,7 +69,7 @@ jobs:
owner, owner,
repo, repo,
issue_number: issue.number, issue_number: issue.number,
body: 'This issue has been automatically closed due to 30-day inactivity. Please feel free to reopen it with `/reopen` if needed.' body: 'This issue has been automatically closed due to 30-day inactivity. Please feel free to reopen it with \`/reopen\` if needed.'
}); });
console.log(`Closed issue #${issue.number} due to inactivity.`); console.log(`Closed issue #${issue.number} due to inactivity.`);
} catch (error) { } catch (error) {
......
...@@ -50,7 +50,7 @@ jobs: ...@@ -50,7 +50,7 @@ jobs:
owner, owner,
repo, repo,
issue_number: issueNumber, issue_number: issueNumber,
body: `Issue reopened by @${commentAuthor} via /reopen command.`, body: `Issue reopened by @${commentAuthor} via \`/reopen\` command.`,
}); });
console.log(`Reopened issue #${issueNumber} with 'inactive' label by issuer.`); console.log(`Reopened issue #${issueNumber} with 'inactive' label by issuer.`);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment