def rule(event):
    if event.deep_get("action", default="") == "repo.pages_public":
        return True
    return False
