diff --git a/.github/workflows/update-release-project.yml b/.github/workflows/update-release-project.yml index ad0485fed3..919b919044 100644 --- a/.github/workflows/update-release-project.yml +++ b/.github/workflows/update-release-project.yml @@ -52,7 +52,7 @@ jobs: with: result-encoding: string script: | - const contributors = github.rest.repos.listContributors({ + const contributors = await github.rest.repos.listContributors({ owner: context.repo.owner, repo: context.repo.repo, }); @@ -60,6 +60,7 @@ jobs: const login = "${{ github.event.issue.user.login }}"; const result = contributors + .data .map(c => c.login) .includes(login);