From 48ea2f7db4cf6122876eaff6d0a8e2f765251850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 5 Dec 2023 23:13:47 +0100 Subject: [PATCH] GithubAuth: increase apiVersion to 4 --- buildbot_nix/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buildbot_nix/__init__.py b/buildbot_nix/__init__.py index 5016e46..0eb3038 100644 --- a/buildbot_nix/__init__.py +++ b/buildbot_nix/__init__.py @@ -868,7 +868,9 @@ class NixConfigurator(ConfiguratorBase): util.AvatarGitHub(token=self.github.token()) ) config["www"]["auth"] = util.GitHubAuth( - self.github.oauth_id, read_secret_file(self.github.oauth_secret_name) + self.github.oauth_id, + read_secret_file(self.github.oauth_secret_name), + apiVersion=4, ) config["www"]["authz"] = setup_authz(