ci: fix more syntax errors in workflow

This commit is contained in:
Nicolas Meienberger 2024-03-04 20:45:07 +01:00
parent 4eb63a1141
commit a9f5f362af

View File

@ -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,