Checkout: v2 no longer downloads tags

Created on 9 Dec 2019  路  2Comments  路  Source: actions/checkout

As of v2, tags are no longer available in the cloned repository, whereas previously tags would have been visible. I was caught out by this, as I was referencing this Action by @master rather than @v1.

Worth mentioning somewhere in the changelog?

documentation

Most helpful comment

Rather than now requiring a separate run command to fetch tags, it would be much nicer to have a fetch-tags option. Default to false to preserve new behaviour, passing --no-tags, otherwise pass --tags when true.

All 2 comments

i'll update the scenarios in the readme. v2 perf was optimized for the mainline scenario, and only fetches a single commit

Rather than now requiring a separate run command to fetch tags, it would be much nicer to have a fetch-tags option. Default to false to preserve new behaviour, passing --no-tags, otherwise pass --tags when true.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bk2204 picture bk2204  路  3Comments

gordinmitya picture gordinmitya  路  7Comments

Scotchester picture Scotchester  路  6Comments

tsal picture tsal  路  6Comments

lukka picture lukka  路  6Comments