Skip to content

support fetch-tags #47

Description

@ahoereth

Migrating from actions/checkout to namespacelabs/nscloud-checkout-action I had to remove fetch-tags: true and replace it with depth: 0.

https://namespace.so/docs/solutions/github-actions/caching advertises nscloud-checkout-action as a drop-in replacement, so that was a bit surprising. If caching is fast enough, this is probably fine, but in most cases I do not need the full history but want the available tags to see if the current commit matches a specific cache.

Related pr from actions/checkout for the fetch-tags feature to quickly poke around its implementation: actions/checkout#2356

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