Skip to content

Commit

Permalink
ci: use latest octokit API inside close stale theme PRs workflow (#3213)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty541 authored Sep 11, 2023
1 parent d6852d9 commit def5c9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/close-stale-theme-prs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit def5c9c

Please sign in to comment.