import yaml


def github_actions(charm_dir):
    """Load the github actions"""
    actions_file = charm_dir / ".github" / "workflows" / "tests.yaml"
    actions = yaml.safe_load(actions_file.read_text())
    return actions