diff options
author | 2021-04-11 16:48:25 +0200 | |
---|---|---|
committer | 2021-04-11 16:48:25 +0200 | |
commit | 51d9b5413ceb8319e0ce9847ee048f112b21fdff (patch) | |
tree | d377879311f1e9cc5c021faf51557b740b07aab4 /bot/exts/evergreen/issues.py | |
parent | Merge pull request #665 from ToxicKidz/draft-pr-emoji (diff) |
Issues: add `type=public`
This will make sure that even if a privileged token is passed we won't leak any private information.
Diffstat (limited to 'bot/exts/evergreen/issues.py')
-rw-r--r-- | bot/exts/evergreen/issues.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/issues.py b/bot/exts/evergreen/issues.py index fa07b674..42ab97c3 100644 --- a/bot/exts/evergreen/issues.py +++ b/bot/exts/evergreen/issues.py @@ -30,7 +30,7 @@ REQUEST_HEADERS = { "Accept": "application/vnd.github.v3+json" } -REPOSITORY_ENDPOINT = "https://api.github.com/orgs/{org}/repos?per_page=100" +REPOSITORY_ENDPOINT = "https://api.github.com/orgs/{org}/repos?per_page=100&type=public" ISSUE_ENDPOINT = "https://api.github.com/repos/{user}/{repository}/issues/{number}" PR_ENDPOINT = "https://api.github.com/repos/{user}/{repository}/pulls/{number}" |