Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pkg/workflow/github_folder_checkout_optimization_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Test workflow that should get a full repository checkout.
description: "When full repo checkout is added, .github sparse checkout should be skipped",
},
{
name: "custom_checkout_keeps_github_sparse",
name: "custom_checkout_skips_github_sparse",
workflowContent: `---
on: push
permissions:
Expand All @@ -55,9 +55,9 @@ steps:
# Test workflow with custom checkout
Test workflow with custom checkout in steps.
`,
expectGitHubCheckout: true,
expectGitHubCheckout: false,
expectFullCheckout: false,
description: "When custom checkout exists, .github sparse checkout is still needed (no automatic full checkout)",
description: "When custom checkout exists, .github sparse checkout is skipped (redundant with full checkout)",
},
{
name: "no_permissions_no_checkouts",
Expand Down
Loading