diff --git a/.github/workflows/renovate-ci.yml b/.github/workflows/renovate-ci.yml index b2e75c5c..7f7f84d5 100644 --- a/.github/workflows/renovate-ci.yml +++ b/.github/workflows/renovate-ci.yml @@ -101,7 +101,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} script: | const semver = require('semver') - const { data } = await github.pulls.listFiles({ + const { data } = await github.rest.pulls.listFiles({ owner: context.repo.owner, repo: context.repo.repo, pull_number: context.issue.number @@ -154,7 +154,7 @@ jobs: with: github-token: ${{ secrets.PERSONAL_TOKEN }} script: | - github.issues.addLabels({ + github.rest.issues.addLabels({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo,