diff --git a/.github/workflows/test_url.yaml b/.github/workflows/test_url.yaml index 702f81e708fd..1340facaf171 100644 --- a/.github/workflows/test_url.yaml +++ b/.github/workflows/test_url.yaml @@ -16,7 +16,7 @@ jobs: async function run() { // Get client and context - const client = new github.GitHub(process.env.GITHUB_TOKEN); + const client = new github.getOctokit(process.env.GITHUB_TOKEN); await client.pulls.createReview({ owner: github.context.issue.owner,