From ae03da16bddf00818b5f37efbb3cefe044469507 Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Mon, 4 Mar 2024 20:40:55 +0100 Subject: [PATCH] ci: fix syntax for updated github script action --- .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 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,