`fetch-tags: true` doesn't work

Open
#2,199 2 comments 12 reactions 1 assignee View on GitHub

@ericsciple is already working on this.

Since Jan 8, 2026.

Assessment

This issue has not been assessed yet.

Description

      - uses: actions/checkout@v4
        with:
          fetch-tags: true

==> But this doesn't fetch all the tags.
I have to use

      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
          fetch-tags: true

For it to retrieve everything.

Dominant language
TypeScript
Stars
8.9k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from actions/checkout

All issues in actions/checkout

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.