Add support for (optional) GITHUB_TOKEN env variable

This commit is contained in:
Vendicated
2023-04-10 22:05:21 +02:00
parent d1296d1708
commit 897df3a5d4
11 changed files with 93 additions and 24 deletions

6
.env.example Normal file
View File

@@ -0,0 +1,6 @@
# githubs api has a rate limit of 60/h if not authorised.
# you may quickly hit that and get rate limited. To counteract this, you can provide a github token
# here and it will be used. To do so, create a token at the following links and just leave
# all permissions at the defaults (public repos read only, 0 permissions):
# https://github.com/settings/personal-access-tokens/new
GITHUB_TOKEN=