def METHOD_NAME(event=None, time=0):
    data = {'conclusion': 'success', 'per_page': 100}
    r = requests.get(API + 'actions/runs', params=data, **RKW)
    r.raise_for_status()
    runs = r.json()['workflow_runs']
    log.info(f'Requested {len(runs)} runs')
    for run in runs:
        t = datetime.fromisoformat(run['updated_at'][:-1])
        run['time'] = t.replace(tzinfo=timezone.utc).timestamp()
    runs = [run for run in runs if
            run['time'] > time and
            run['name'] == 'docs' and
            run['conclusion'] == 'success' and
            (event is None or run['event'] == event)]
    runs = sorted(runs, key=lambda run: -run['time'])
    log.info(f'Selected {len(runs)} runs')
    return runs