From a9f5f362af9aab51b99119b589314fa5639815db Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Mon, 4 Mar 2024 20:45:07 +0100 Subject: [PATCH] ci: fix more syntax errors in workflow --- .github/workflows/renovate-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,