Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetch-tags=true do not work when fetch-depth > 0 #1662

Open
marcindabrowski opened this issue Mar 15, 2024 · 3 comments
Open

fetch-tags=true do not work when fetch-depth > 0 #1662

marcindabrowski opened this issue Mar 15, 2024 · 3 comments

Comments

@marcindabrowski
Copy link

marcindabrowski commented Mar 15, 2024

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 }}
@marcindabrowski marcindabrowski changed the title fetch-tags=true do not work when fetch-depth != 0 fetch-tags=true do not work when fetch-depth > 0 Mar 15, 2024
@salvianreynaldi
Copy link

duplicate of #1467.
From my exp, the posted workaround works (git fetch manually)

@Ottapettavan
Copy link

#417 #415

@Ottapettavan
Copy link

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 }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants