Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: actions/checkout
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8e5e7e5
Choose a base ref
...
head repository: actions/checkout
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f43a0e5
Choose a head ref
  • 7 commits
  • 19 files changed
  • 9 contributors

Commits on Apr 14, 2023

  1. Fix: Checkout fail in self-hosted runners when faulty submodule are c…

    …hecked-in (#1196)
    
    * Fix Self hosted runner issue wrt bad submodules - solution cleanup working space.
    
    * Fix format with npm run format output
    
    * Add mock implementation for new function submoduleStatus
    
    * Add 2  test cases for submodule status.
    
    * Codeql-Action Analyse revert v1 to v2
    
    ---------
    
    Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com>
    Co-authored-by: sminnie <minnie@sankhe.com>
    3 people committed Apr 14, 2023
    6 Configuration menu
    Copy the full SHA
    47fbe2d View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2023

  1. 4 Configuration menu
    Copy the full SHA
    f095bcc View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

  1. Add support for sparse checkouts (#1369)

    * Add support for sparse checkouts
    
    * sparse-checkout: optionally turn off cone mode
    
    While it _is_ true that cone mode is the default nowadays (mainly for
    performance reasons: code mode is much faster than non-cone mode), there
    _are_ legitimate use cases where non-cone mode is really useful.
    
    Let's add a flag to optionally disable cone mode.
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    
    * Verify minimum Git version for sparse checkout
    
    The `git sparse-checkout` command is available only since Git version
    v2.25.0. The `actions/checkout` Action actually supports older Git
    versions than that; As of time of writing, the minimum version is
    v2.18.0.
    
    Instead of raising this minimum version even for users who do not
    require a sparse checkout, only check for this minimum version
    specifically when a sparse checkout was asked for.
    
    Suggested-by: Tingluo Huang <tingluohuang@github.com>
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    
    * Support sparse checkout/LFS better
    
    Instead of fetching all the LFS objects present in the current revision
    in a sparse checkout, whether they are needed inside the sparse cone or
    not, let's instead only pull the ones that are actually needed.
    
    To do that, let's avoid running that preemptive `git lfs fetch` call in
    case of a sparse checkout.
    
    An alternative that was considered during the development of this patch
    (and ultimately rejected) was to use `git lfs pull --include <path>...`,
    but it turned out to be too inflexible because it requires exact paths,
    not the patterns that are available via the sparse checkout definition,
    and that risks running into command-line length limitations.
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    
    ---------
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    Co-authored-by: Daniel <daniel.fernandez@feverup.com>
    dscho and dfdez committed Jun 9, 2023
    1 Configuration menu
    Copy the full SHA
    d106d46 View commit details
    Browse the repository at this point in the history
  2. Release v3.5.3 (#1376)

    TingluoHuang committed Jun 9, 2023
    1 Configuration menu
    Copy the full SHA
    c85c95e View commit details
    Browse the repository at this point in the history
  3. Mark test scripts with Bash'isms to be run via Bash (#1377)

    In #1369, I mistakenly replaced the hash-bang lines in the two new
    scripts with `#!/bin/sh`, missing that both files contain the Bash'ism
    `[[`. Symptom as per
    https://github.com/actions/checkout/actions/runs/5200323109/jobs/9378889172?pr=1369#step:12:5
    
        __test__/verify-sparse-checkout.sh: 58: [[: not found
    
    Let's change those hash-bang lines back to `#!/bin/bash`.
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    dscho committed Jun 9, 2023
    1 Configuration menu
    Copy the full SHA
    96f5310 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Add option to fetch tags even if fetch-depth > 0 (#579)

    * Add option to fetch tags even if fetch-depth > 0
    
    * Add jest tests for fetchDepth and fetchTags options
    RobertWieczoreck committed Aug 16, 2023
    3 Configuration menu
    Copy the full SHA
    7739b9b View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Release 3.6.0 (#1437)

    luketomlinson committed Aug 24, 2023
    1 Configuration menu
    Copy the full SHA
    f43a0e5 View commit details
    Browse the repository at this point in the history
Loading