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