Skip to content

ensure actions/checkout fetches tags #16202

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

Closed
behrisch opened this issue Feb 19, 2025 · 0 comments
Closed

ensure actions/checkout fetches tags #16202

behrisch opened this issue Feb 19, 2025 · 0 comments
Assignees
Labels
Milestone

Comments

@behrisch
Copy link
Contributor

currently our github actions checkout look sometimes like this:

    - name: Cloning SUMO
      uses: actions/checkout@v4
      with:
        fetch-depth: 0

and sometimes have an extra

    - name: Fetching SUMO tags
      run: git fetch --tags --force

The last release build did not work properly (no proper version in the build associated with the tag) so it might be that the second step is actually necessary but we should recheck and document(!) this. Further things to inspect here are whether

      with:
        fetch-tags: true

and

      with:
        filter: tree:0

improve the situation (or reduce the checkout time).

see actions/checkout#1467 and actions/checkout#1471

@behrisch behrisch self-assigned this Feb 19, 2025
@behrisch behrisch added this to the 1.23.0 milestone Feb 19, 2025
behrisch added a commit that referenced this issue Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant