ci: fix more syntax errors in workflow
This commit is contained in:
parent
4eb63a1141
commit
a9f5f362af
4
.github/workflows/renovate-ci.yml
vendored
4
.github/workflows/renovate-ci.yml
vendored
|
@ -120,7 +120,7 @@ jobs:
|
||||||
let majorBump = 'false'
|
let majorBump = 'false'
|
||||||
|
|
||||||
for (const configFile of configs) {
|
for (const configFile of configs) {
|
||||||
const baseContent = await github.repos.getContent({
|
const baseContent = await github.rest.repos.getContent({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
path: configFile,
|
path: configFile,
|
||||||
|
@ -128,7 +128,7 @@ jobs:
|
||||||
});
|
});
|
||||||
const baseConfig = JSON.parse(Buffer.from(baseContent.data.content, 'base64').toString('utf-8'))
|
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,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
path: configFile,
|
path: configFile,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user