From 7bda3b1d5e4f0b183b453259c3b03dcfa68c6be2 Mon Sep 17 00:00:00 2001 From: firelight flagboy Date: Fri, 9 Jun 2023 18:47:37 +0200 Subject: [PATCH] Add instruction when the un-auth api rate limit is reach --- DEVELOPMENT.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 437ae906..ec0e9334 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -14,6 +14,13 @@ See JSON files in `tools/codegen/base` directory for examples of the manifest. ./tools/manifest.sh ``` +> 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 +> ``` + 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`.