-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
We have a monorepo with 80,000+ tags. Many of our workflows need to perform deep clones of the repository as they have logic which inspects commit history. With fetch-depth: 0 the actions/checkout invocation will produce a log-line for each tag (so 80k+ log lines). The vast majority of log lines across our workflows come from actions/checkout.
I've tried specifying fetch-tags: false on the invocation, and while the generated git command correctly gets --no-tags, a wildcard tag refspec is included in the invocation, which causes all the tags to be fetched regardless, e.g.:
2026-01-22T20:07:54.2628910Z [command]/opt/homebrew/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/* +f53ca831182e5c9a39fced4415356b8272a507e5:refs/remotes/pull/51378/merge
Trying not to fetch the tags is just attempting to address the symptom here. What I'd really like is a quiet: true option which silences all (or most) output of the underlying git commands.