def target_tasks_default()

in taskcluster/glean_taskgraph/target_tasks.py [0:0]


def target_tasks_default(full_task_graph, parameters, graph_config):
    """Target the tasks which have indicated they should be run on this project
    via the `run_on_projects` attributes."""
    def filter(task):
        return filter_for_tasks_for(task, parameters) \
            and task.attributes.get("run-on-pr-type", "all") in ("full-ci", "all")

    return [l for l, task in full_task_graph.tasks.items() if filter(task)]