From 3c2167f445ff63e8994326389de84a3653049a1c Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Wed, 20 Jan 2021 22:56:45 +0200 Subject: [PATCH] Update uncivbot.yml --- .github/workflows/uncivbot.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/uncivbot.yml b/.github/workflows/uncivbot.yml index 6b6f81a293..7c9f21ba6e 100644 --- a/.github/workflows/uncivbot.yml +++ b/.github/workflows/uncivbot.yml @@ -11,7 +11,10 @@ jobs: with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - var result = await github.repos.listCommits(context.repo({ per_page: 50 })); + var result = await github.repos.listCommits({ + owner: context.repo.owner, + repo: context.repo.repo, + per_page: 50 }); //var commitSummary = ""; //var ownerToCommits = {} //var reachedPreviousVersion = false