code: def ci_group(group_name: str, github_actions: bool):
      if github_actions:
          console.print(
              f"::group::{textwrap.shorten(group_name, width=200)}",
              markup=False,
          )
      console.print(group_name, markup=False)
      try:
          yield
      finally:
          if github_actions:
              console.print("::endgroup::")
  
file_path: airflow/scripts/in_container/in_container_utils.py
imports: from __future__ import annotations
  import shlex
  import subprocess
  import textwrap
  from contextlib import contextmanager
  import rich_click
  from rich.console import Console
label_desc: Use image node_id 1 for calling a global function with example usage: ci_group(group_name, github_actions) without return types