mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
pluginupdate.py: GITHUB_API_TOKEN -> GITHUB_TOKEN
Should use the standard token variable that github and the rest of the codebase uses.
This commit is contained in:
parent
20dbed8a6e
commit
9831a2b6c3
2 changed files with 3 additions and 3 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue