diff --git a/doc/languages-frameworks/vim.section.md b/doc/languages-frameworks/vim.section.md index f42995d94693..9c8c3faaecf0 100644 --- a/doc/languages-frameworks/vim.section.md +++ b/doc/languages-frameworks/vim.section.md @@ -177,7 +177,7 @@ Finally, there are some plugins that are also packaged in nodePackages because t Run the update script with a GitHub API token that has at least `public_repo` access. Running the script without the token is likely to result in rate-limiting (429 errors). For steps on creating an API token, please refer to [GitHub's token documentation](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token). ```sh -nix-shell -p vimPluginsUpdater --run 'vim-plugins-updater --github-token=mytoken' # or set GITHUB_API_TOKEN environment variable +nix-shell -p vimPluginsUpdater --run 'vim-plugins-updater --github-token=mytoken' # or set GITHUB_TOKEN environment variable ``` Alternatively, set the number of processes to a lower count to avoid rate-limiting. diff --git a/maintainers/scripts/pluginupdate-py/pluginupdate.py b/maintainers/scripts/pluginupdate-py/pluginupdate.py index 2f55c1359de7..060f7015de23 100644 --- a/maintainers/scripts/pluginupdate-py/pluginupdate.py +++ b/maintainers/scripts/pluginupdate-py/pluginupdate.py @@ -615,9 +615,9 @@ class Editor: "--github-token", "-t", type=str, - default=os.getenv("GITHUB_API_TOKEN"), + default=os.getenv("GITHUB_TOKEN"), help="""Allows to set --proc to higher values. - Uses GITHUB_API_TOKEN environment variables as the default value.""", + Uses GITHUB_TOKEN environment variables as the default value.""", ) common.add_argument( "--no-commit",