https://github.com/keelerm84/github-topic-checker
CLI tool to check all non-archived repositories in the Research Square Company organization for appropriate repository topics.
https://github.com/keelerm84/github-topic-checker
cli github graphql rust
Last synced: 2 months ago
JSON representation
CLI tool to check all non-archived repositories in the Research Square Company organization for appropriate repository topics.
- Host: GitHub
- URL: https://github.com/keelerm84/github-topic-checker
- Owner: keelerm84
- Created: 2021-05-08T05:35:55.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-15T00:40:52.000Z (about 5 years ago)
- Last Synced: 2025-02-03T13:25:15.089Z (over 1 year ago)
- Topics: cli, github, graphql, rust
- Language: Rust
- Homepage:
- Size: 178 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: docs/README.md
Awesome Lists containing this project
README
# github-topic-checker
Research Square Company requires that all repositories have a topic set which
represents team ownership. This is useful for reporting purposes. This small
CLI app will check each non-archived repository in that organized and report on
repositories lacking one of the required topics.
## Environment variables
To run this project, you will need to have the following environment variables set.
* `GITHUB_TOKEN`
This [personal access token][tokens] is used to create deployments on any target repositories.
## Setup and usage
Install [cargo-make][cargo-make] and generate an updated copy of the GitHub
GraphQL schema.json file.
```console
$ cargo install cargo-make
$ cargo make schema
```
Compile and execute this application
```console
$ cargo build --release
$ ./target/release/github-topic-checker
```
## License
[MIT](./LICENSE.md)
[tokens]: https://github.com/settings/tokens
[cargo-make]: https://github.com/sagiegurari/cargo-make