summaryrefslogtreecommitdiff
path: root/.github/check-changed-files.js
diff options
context:
space:
mode:
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,