github#
import compwa_policy.cli.github
policy github — workflows, labels, dependabot, release-drafter, upgrade-lock.
- github(python: Annotated[bool | None, <typer.models.OptionInfo object at 0x7f701c212ad0>]=None, dev_python_version: 6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.15'] | None, <typer.models.OptionInfo object at 0x7f701c212850>]=None, allow_labels: Annotated[bool | None, <typer.models.OptionInfo object at 0x7f701c213b10>]=None, autofix_ci: Annotated[bool | None, <typer.models.OptionInfo object at 0x7f701c213d90>]=None, no_github_actions: Annotated[bool | None, <typer.models.OptionInfo object at 0x7f701c213ed0>]=None, allow_deprecated_workflows: Annotated[bool | None, <typer.models.OptionInfo object at 0x7f701c213c50>]=None, github_pages: Annotated[bool | None, <typer.models.OptionInfo object at 0x7f701c088050>]=None, keep_pr_linting: Annotated[bool | None, <typer.models.OptionInfo object at 0x7f701c088190>]=None, macos_python_version: Annotated[str | None, <typer.models.OptionInfo object at 0x7f701c0882d0>]=None, macos_runner: Literal['macos-14', 'macos-15', 'macos-15-intel', 'macos-15-large', 'macos-15-xlarge', 'macos-26', 'macos-26-intel', 'macos-26-large', 'macos-26-xlarge', 'macos-latest', 'macos-latest-large'] | None, <typer.models.OptionInfo object at 0x7f701c088410>]=None, windows_python_version: 6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.15'] | None, <typer.models.OptionInfo object at 0x7f701c088550>]=None, ubuntu_runner: 04', 'ubuntu-22.04-arm', 'ubuntu-24.04', 'ubuntu-24.04-arm', 'ubuntu-26.04', 'ubuntu-26.04-arm', 'ubuntu-latest', 'ubuntu-slim'] | None, <typer.models.OptionInfo object at 0x7f701c088690>]=None, no_cd: Annotated[bool | None, <typer.models.OptionInfo object at 0x7f701c0887d0>]=None, no_milestones: Annotated[bool | None, <typer.models.OptionInfo object at 0x7f701c088910>]=None, no_pypi: Annotated[bool | None, <typer.models.OptionInfo object at 0x7f701c088a50>]=None, no_version_branches: Annotated[bool | None, <typer.models.OptionInfo object at 0x7f701c088b90>]=None, release_name_template: Annotated[str | None, <typer.models.OptionInfo object at 0x7f701c088cd0>]=None, tag_prefix: Annotated[str | None, <typer.models.OptionInfo object at 0x7f701c088e10>]=None, ci_skipped_tests: Annotated[str | None, <typer.models.OptionInfo object at 0x7f701c088f50>]=None, doc_apt_packages: Annotated[str | None, <typer.models.OptionInfo object at 0x7f701c089090>]=None, environment_variables: Annotated[str | None, <typer.models.OptionInfo object at 0x7f701c212fd0>]=None, pytest_single_threaded: Annotated[bool | None, <typer.models.OptionInfo object at 0x7f701c213890>]=None, keep_workflow: Annotated[list[str] | None, <typer.models.OptionInfo object at 0x7f701c0891d0>]=None, dependabot_assignees: Annotated[list[str] | None, <typer.models.OptionInfo object at 0x7f701c089310>]=None, dependabot_ecosystems: DependabotEcosystem] | None, <typer.models.OptionInfo object at 0x7f701c089450>]=None, upgrade_frequency: Literal['monthly', 'quarterly', 'semiannually'] | None, <typer.models.OptionInfo object at 0x7f701c089590>]=None, repo_name: Annotated[str | None, <typer.models.OptionInfo object at 0x7f701c212c10>]=None, repo_organization: Annotated[str | None, <typer.models.OptionInfo object at 0x7f701c212d50>]=None, repo_title: Annotated[str | None, <typer.models.OptionInfo object at 0x7f701c212e90>]=None) None[source]#
Standardize GitHub config: workflows, labels, Dependabot, Release Drafter, lock upgrades.