mirror of
https://github.com/System-End/github-readme-stats.git
synced 2026-04-19 21:05:16 +00:00
ci: use latest octokit API inside close stale theme PRs workflow (#3213)
This commit is contained in:
parent
d6852d932b
commit
def5c9c997
1 changed files with 2 additions and 2 deletions
|
|
@ -156,13 +156,13 @@ const run = async () => {
|
|||
for (const prNumber of staleThemePRsNumbers) {
|
||||
debug(`Closing #${prNumber} because it is stale...`);
|
||||
if (!dryRun) {
|
||||
await octokit.issues.createComment({
|
||||
await octokit.rest.issues.createComment({
|
||||
owner,
|
||||
repo,
|
||||
issue_number: prNumber,
|
||||
body: CLOSING_COMMENT,
|
||||
});
|
||||
await octokit.pulls.update({
|
||||
await octokit.rest.pulls.update({
|
||||
owner,
|
||||
repo,
|
||||
pull_number: prNumber,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue