Skip to content

probe_atlantis_apply

Probes repositories for 'atlantis apply'.

probe_atlantis_apply(state)

Probes atlantis apply.

Source code in dapla_team_cli/pr/probe/probe_atlantis_apply.py
17
18
19
20
21
22
23
24
@batch_handler
def probe_atlantis_apply(state: State) -> None:
    """Probes atlantis apply."""
    print("\n\n[cyan]Probing repositories for 'atlantis apply'")
    for repo in state.repos.values():
        print(f"[bold magenta]{repo.name}")
        if pr := get_pr(repo.pr.number, repo.name):
            _do_probe_atlantis_apply(repo, pr)