feat: make show-progress control checkout verbosity, not just fetch

Previously checkout/checkoutDetach always ran with --progress
regardless of the show-progress input, and settings.showProgress
was never propagated into fetchOptions. Thread showProgress through
checkout and checkoutDetach so they use --quiet when show-progress
is false, giving a genuinely quiet checkout when show-progress: false
is set.

Ported from schlags/checkout (show-progress-required branch) onto
current actions/checkout main.
This commit is contained in:
Andrew Mehta 2026-09-24 16:08:29 -06:00
parent f548e57e54
commit 2f547d07f2
7 changed files with 33 additions and 17 deletions

View file

@ -141,7 +141,7 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
# Default: false
fetch-tags: ''
# Whether to show progress status output when fetching.
# Whether to show progress status output for git operations.
# Default: true
show-progress: ''