from __future__ import annotations from pathlib import Path ROOT = Path(__file__).resolve().parents[2] WORKFLOW = ROOT / ".gitea" / "workflows" / "managed-validation.yml" def test_managed_validation_uses_internal_gitea_checkout_path() -> None: workflow = WORKFLOW.read_text(encoding="utf-8") assert "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" in workflow assert "github-server-url: http://gitea-runner-internal:3000" in workflow