diff --git a/.github/workflows/close-old-issues.yaml b/.github/workflows/close-old-issues.yaml index 7fca4ccc..72a3ca8e 100644 --- a/.github/workflows/close-old-issues.yaml +++ b/.github/workflows/close-old-issues.yaml @@ -14,7 +14,7 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | - const octokit = context.octokit; + const octokit = github; // Get the repository owner and name const { owner, repo } = context.repo;