Skip to content

Allow fetch-depth to fetch tags within that depth #448

Closed
@Christewart

Description

@Christewart

I'm using github actions to push docker images to dockerhub and require tags to make sure my artifacts version is correct.

I'm using fetch-depth: 500 to avoid really long fetch times with my repo (yes, I know this is a problem on it's own).

I would expected the default behavior of the action is to checkout tags within that 500 depth limit, not use --no-tags

 /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=500 origin +cd1e2e1b5d307b7f4a2c6e49113da14cfc7b1c36:refs/remotes/origin/master

is the command that gets run

https://github.com/bitcoin-s/bitcoin-s/runs/1947728258#step:2:40

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