Add instruction when the un-auth api rate limit is reach

This commit is contained in:
firelight flagboy
2023-06-09 18:47:37 +02:00
committed by Taiki Endo
parent b02c385974
commit 7bda3b1d5e

View File

@@ -14,6 +14,13 @@ See JSON files in `tools/codegen/base` directory for examples of the manifest.
./tools/manifest.sh <tool>
```
> If you're having problem with github api rate limit, you can use your GITHUB_TOKEN to increase the rate limit.
> If you have `Github CLI` installed (the command `gh`), you can:
>
> ```shell
> GITHUB_TOKEN=$(gh auth status --show-token 2>&1 | sed -n 's/^.*Token: \(.*\)$/\1/p') ./tools/manifest.sh <tool>
> ```
3\. Add tool name to test matrix in `.github/workflows/ci.yml`.
4\. Add tool name to table in "Supported tools" section in `README.md`.