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

ci: Fetch the full Git history to be able to diff it against HEAD #925

Merged
merged 2 commits into from
Oct 23, 2023

Commits on Oct 13, 2023

  1. Fetch the full history of master before diff-ing it against HEAD

    The `Run tests` jobs were broken with bioconda@1ae4126
    The problem is that the project uses `fetch-depth: 1` (the default) and
    thus has no branch history.
    Using `fetch-depth: 0` would fetch the whole history for **all**
    branches and tags, which would be unnecessary.
    
    Refs:
    - actions/checkout#296
    - actions/checkout#301
    
    Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
    (cherry picked from commit e3c24c6)
    martin-g committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    cf92641 View commit details
    Browse the repository at this point in the history
  2. Use fetch-depth: 0 - it adds just 1sec more

    Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
    martin-g committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    e0cf70e View commit details
    Browse the repository at this point in the history