diff --git a/.github/actions/update-badge/index.js b/.github/actions/update-badge/index.js index b8d4b3e0..54b8394a 100644 --- a/.github/actions/update-badge/index.js +++ b/.github/actions/update-badge/index.js @@ -19,7 +19,7 @@ let octokit octokit = github.getOctokit(ghToken) await core.group('Fetch repositories & updating lines...', async () => { for (const repo of repos) { - const line = await generateLine(repoStr) + const line = await generateLine(repo.repoStr) if (shouldUpdate(lines[repo.index], line)) { lines[repo.index] = line }