Privillege Leave allocation

Hello, I have done a leave setup in which the employee gets 15 PL per year, now I want to allocate 1 leave to an employee who has worked for 20 days.
Does anyone have an idea how to manage this in Frappe HR?
Thanks in advance!