fetch-tags=true do not work when fetch-depth > 0
marcindabrowski opened this issue · comments
Marcin Dąbrowski commented
Description of the fetch-tags
says: Whether to fetch tags, even if fetch-depth > 0
,
but it seems that action in version 4.1.1
do not pull the tags, only the PR branch.
I set these action options:
fetch-depth: 1
fetch-tags: true
ref: ${{ github.head_ref }}
Salvian Reynaldi commented
duplicate of #1467.
From my exp, the posted workaround works (git fetch
manually)
ɾɑʍՏ հɑժ. Ƙ commented
ɾɑʍՏ հɑժ. Ƙ commented
Description of the
fetch-tags
says:Whether to fetch tags, even if fetch-depth > 0
, but it seems that action in version4.1.1
do not pull the tags, only the PR branch.I set these action options:
fetch-depth: 1 fetch-tags: true ref: ${{ github.head_ref }}