summaryrefslogtreecommitdiff
path: root/.github/check-changed-files.js
diff options
context:
space:
mode:
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>2021-12-23 13:20:48 +0000
committerGitHub <noreply@github.com>2021-12-23 13:20:48 +0000
commitc911554c84fe41629e000e27efc960ced80912e2 (patch)
tree6dab2a4a6d9ef9153914f7c040142b7ce149d68c /.github/check-changed-files.js
parent872b12da14d6b49fd70bc711ba1d3c8fbcb2a9f4 (diff)
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 <bot@renovateapp.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to '.github/check-changed-files.js')
-rw-r--r--.github/check-changed-files.js2
1 files changed, 1 insertions, 1 deletions
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,