From c911554c84fe41629e000e27efc960ced80912e2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 23 Dec 2021 13:20:48 +0000 Subject: chore(deps): update actions/github-script action to v5 (#1616) * chore(deps): update actions/github-script action to v5 * github: update check-changed-files for OctoKit upgrade Co-authored-by: Renovate Bot Co-authored-by: Harsh Shandilya --- .github/check-changed-files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/check-changed-files.js') diff --git a/.github/check-changed-files.js b/.github/check-changed-files.js index 10f86348..24bddcf4 100644 --- a/.github/check-changed-files.js +++ b/.github/check-changed-files.js @@ -1,5 +1,5 @@ module.exports = async ({github, context}) => { - const result = await github.pulls.listFiles({ + const result = await github.rest.pulls.listFiles({ owner: context.payload.repository.owner.login, repo: context.payload.repository.name, pull_number: context.payload.number, -- cgit v1.2.3