Check out from our own Gitea instead of actions/checkout
The runner host failed to resolve github.com; deploys must not depend on internet DNS. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5016ed6996
commit
26fa7732e9
4 files changed
+27
-4
No files matched your search
@@ -298,3 +298,10 @@ def test_dev_testvault_is_synthetic_and_parseable():
|
||||
assert (vault / "_system" / "dictionary" / "graph_schema.md").is_file()
|
||||
notes = [f for f in vault.rglob("*.md") if "_system" not in f.parts]
|
||||
assert notes and all("topic/test" in f.read_text(encoding="utf-8") for f in notes)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("name", ["deploy-dev.yml", "deploy-prod.yml"])
|
||||
def test_workflow_needs_no_external_actions(name):
|
||||
# Der Runner-Host soll ohne Internet/DNS deployen können (kein github.com).
|
||||
wf, _ = _workflow(name)
|
||||
assert not [s["uses"] for s in wf["jobs"]["deploy"]["steps"] if "uses" in s]
|
||||
Reference in new issue
Block a user