Skip to content

Commit 6ccd76e

Browse files
Update tests/unit/workflows/test_workflows.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e00e8cd commit 6ccd76e

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

tests/unit/workflows/test_workflows.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,6 @@ def test_checkout_with_fetch_depth(self, filepath: Path) -> None:
301301
has_fetch_depth = "fetch-depth:" in content or "fetch-depth :" in content
302302
# Note: This is advisory - workflows may have reasons not to fetch full history
303303
# We document the check but don't fail on it
304-
if not has_fetch_depth:
305-
# Could add a warning here in the future, but for now just pass
306-
pass
307304

308305
@pytest.mark.parametrize("filepath", get_all_workflow_files(), ids=lambda p: p.name)
309306
def test_uses_environment_for_secrets(self, filepath: Path) -> None:

0 commit comments

Comments
 (0)