in src/policy.ts [283:294]
export async function applyActions(
context: RecaptchaContext,
req: EdgeRequest,
actions: action.Action[],
): Promise<EdgeResponse> {
const response = await applyPreRequestActions(context, req, actions);
if (response !== null) {
return response;
}
let resp = await context.fetch_origin(req);
return applyPostResponseActions(context, resp, actions);
}