Identity provider

This commit is contained in:
Ori Kotek
2024-02-26 18:31:12 +02:00
parent 5a2b5d97a0
commit 77831c793d
3 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,9 @@
from pr_agent.identity_providers.identity_provider import Eligibility, IdentityProvider
class DefaultIdentityProvider(IdentityProvider):
def verify_eligibility(self, git_provider, git_provider_id, pr_url):
return Eligibility.ELIGIBLE
def inc_invocation_count(self, git_provider, git_provider_id):
pass