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: v3.5.2
Choose a base ref
...
head repository: actions/checkout
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.1.1
Choose a head ref
  • 16 commits
  • 24 files changed
  • 16 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 <[email protected]>
    Co-authored-by: sminnie <[email protected]>
    3 people authored 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 <[email protected]>
    
    * 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 <[email protected]>
    Signed-off-by: Johannes Schindelin <[email protected]>
    
    * 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 <[email protected]>
    
    ---------
    
    Signed-off-by: Johannes Schindelin <[email protected]>
    Co-authored-by: Daniel <[email protected]>
    dscho and dfdez authored Jun 9, 2023
    1 Configuration menu
    Copy the full SHA
    d106d46 View commit details
    Browse the repository at this point in the history
  2. 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 <[email protected]>
    dscho authored 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 authored 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 authored Aug 24, 2023
    1 Configuration menu
    Copy the full SHA
    f43a0e5 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Update default runtime to node20 (#1436)

    * .
    
    * update workflows
    takost authored Aug 29, 2023
    18 Configuration menu
    Copy the full SHA
    97a652b View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Support fetching without the --progress option (#1067)

    Setting the `show-progress` option to false in the `with` section of the
    workflow step will cause git fetch to run without `--progress`.
    
    The motivation is to be able to suppress the noisy progress status
    output which adds many hundreds of "remote: Counting objects: 85%
    (386/453)" and similar lines in the workflow log.
    
    This should be sufficient to resolve #894 and its older friends,
    though the solution is different to the one proposed there because
    it doesn't use the --quiet flag. IIUC git doesn't show the progress
    status by default since the output is not a terminal, so that's why
    removing the --progress option is all that's needed.
    
    Adding the --quiet flag doesn't make a lot of difference once the
    --progress flag is removed, and actually I think using --quiet would
    suppress some other more useful output that would be better left
    visible.
    
    Signed-off-by: Simon Baird <[email protected]>
    simonbaird authored Sep 1, 2023
    3 Configuration menu
    Copy the full SHA
    8b5e8b7 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. Release 4.0.0 (#1447)

    * Release 4.0.0
    
    * Add new major version to workflow
    takost authored Sep 4, 2023
    2 Configuration menu
    Copy the full SHA
    3df4ab1 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Update README.md for V4 (#1452)

    * Update README.md for V4
    
    * Update actionReference in generate-docs.ts for v4
    sivapalan authored Sep 5, 2023
    2 Configuration menu
    Copy the full SHA
    72f2cec View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Add support for partial checkout filters (#1396)

    * added filter option & tests
    
    * added build file
    
    * fix test oversight
    
    * added exit 1
    
    * updated docs to specify override
    
    * undo unneeded readme change
    
    * set to undefined rather than empty string
    
    * run git config in correct di
    
    ---------
    
    Co-authored-by: Cory Miller <[email protected]>
    finleygn and cory-miller authored Sep 22, 2023
    9 Configuration menu
    Copy the full SHA
    c533a0a View commit details
    Browse the repository at this point in the history
  2. 1 Configuration menu
    Copy the full SHA
    8ade135 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

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

Commits on Oct 13, 2023

  1. Correct link to GitHub Docs (#1511)

    No hardcoded language in the URL and uses the correct docs.github.com domain.
    peterbe authored Oct 13, 2023
    2 Configuration menu
    Copy the full SHA
    8530928 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. 3 Configuration menu
    Copy the full SHA
    b4ffde6 View commit details
    Browse the repository at this point in the history
Loading