You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Activity
[-]fetch-tags=true do not work when fetch-depth != 0[/-][+]fetch-tags=true do not work when fetch-depth > 0[/+]salvianreynaldi commentedon Mar 19, 2024
duplicate of #1467.
From my exp, the posted workaround works (
git fetch
manually)Ottapettavan commentedon Mar 25, 2024
#417 #415
Ottapettavan commentedon Mar 25, 2024
lucasoares commentedon Feb 27, 2025
Same in here.
togakangaroo commentedon Mar 7, 2025
I'm seeing this as well.
I turned on action debugging and can see the git commands being run, specifically the fetch is this
In order to do the right thing we would need the
--tags
flag in thererochacon commentedon Mar 7, 2025
@togakangaroo do you have a test repository at hand? Can you point it to my PR above and check if that fix the issue for you?
Your tip made me find the related code.