diff --git a/.github/workflows/renovate-ci.yml b/.github/workflows/renovate-ci.yml index 7f7f84d5..111b83b3 100644 --- a/.github/workflows/renovate-ci.yml +++ b/.github/workflows/renovate-ci.yml @@ -120,7 +120,7 @@ jobs: let majorBump = 'false' for (const configFile of configs) { - const baseContent = await github.repos.getContent({ + const baseContent = await github.rest.repos.getContent({ owner: context.repo.owner, repo: context.repo.repo, path: configFile, @@ -128,7 +128,7 @@ jobs: }); const baseConfig = JSON.parse(Buffer.from(baseContent.data.content, 'base64').toString('utf-8')) - const currentContent = await github.repos.getContent({ + const currentContent = await github..rest.repos.getContent({ owner: context.repo.owner, repo: context.repo.repo, path: configFile,