Internal utility script to update the Octokit/JS project
This script loads all open issues and pull requests from all public JavaScript-related Octokit repositories in the @octokit organization and add them to the Octokit/JS project.
It also normalizes labels across the same repositories.
I created it for a one-time use and future reference.
git clone https://github.com/gr2m/add-issues-and-prs-to-octokit-project.git cd add-issues-and-prs-to-octokit-project npm install GITHUB_TOKEN=[...] node index.js Replace [...] with a personal access token which includes the repo scope.