https://github.com/gr2m/add-issues-and-prs-to-octokit-project
Internal utility script to update the Octokit/JS project board
https://github.com/gr2m/add-issues-and-prs-to-octokit-project
cli github-projects
Last synced: 4 months ago
JSON representation
Internal utility script to update the Octokit/JS project board
- Host: GitHub
- URL: https://github.com/gr2m/add-issues-and-prs-to-octokit-project
- Owner: gr2m
- License: isc
- Created: 2020-05-05T16:25:22.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-06-26T00:40:04.000Z (almost 2 years ago)
- Last Synced: 2024-10-29T23:44:38.314Z (8 months ago)
- Topics: cli, github-projects
- Language: JavaScript
- Homepage: https://github.com/orgs/octokit/projects/1
- Size: 29.3 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# add-issues-and-prs-to-octokit-project
> Internal utility script to update [the Octokit/JS project](https://github.com/orgs/octokit/projects/1)
This script loads all open issues and pull requests from all public JavaScript-related Octokit repositories in the [@octokit](https://github.com/octokit/) organization and add them to [the Octokit/JS project](https://github.com/orgs/octokit/projects/1).
It also normalizes labels across the same repositories.
I created it for a one-time use and future reference. For ongoing update of the board, I've registered the [`Octokit JS Project Board` GitHub App](https://github.com/apps/octokit-js-project-board/). It's hosted on Glitch: https://glitch.com/edit/#!/octokit-js-project-board?path=index.js
## Usage
```
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](https://github.com/settings/tokens/new?scopes=repo).
## License
[ISC](LICENSE)