From 01cf7c0f66bebcfbb10679a05d0b5dcb4e439098 Mon Sep 17 00:00:00 2001 From: Khushi-Sardhara Date: Wed, 31 May 2023 01:06:52 +0530 Subject: [PATCH] fix: adding can_auto_approve method in github access module --- github_access/access.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/github_access/access.py b/github_access/access.py index 3e3a4c7..c7a6286 100644 --- a/github_access/access.py +++ b/github_access/access.py @@ -24,6 +24,9 @@ class GithubAccess(BaseEmailAccess): ACCESS_LABEL = "repository_access" urlpatterns = [] + def can_auto_approve(self): + return False + def email_targets(self, user): return [user.email] + self.grant_owner()