Skip to content

fetch-tags: false still fetches tags if fetch-depth is 0 #2195

Open
@SethDavenport

Description

@SethDavenport

I'm trying to fetch all commits and branches, but not tags.

I've added this to my workflow:

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

But it's still fetching tags:

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions