Thanks to visit codestin.com
Credit goes to github.com

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.2.0
Choose a base ref
...
head repository: actions/checkout
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3
Choose a head ref
  • 19 commits
  • 76 files changed
  • 16 contributors

Commits on Dec 14, 2022

  1. Implement branch list using callbacks from exec function (#1045)

    When trying to list local branches to figure out what needs cleaned up during runs on non-ephemeral Actions Runners, we use git rev-parse --symbolic-full-name to get a list of branches. This can lead to ambiguous ref name errors when there are branches and tags with similar names.
    
    Part of the reason we use rev-parse --symbolic-full-name vs git branch --list or git rev-parse --symbolic seems to related to a bug in Git 2.18. Until we can deprecate our usage of Git 2.18, I think we need to keep --symbolic-full-name. Since part of the problem is that these ambiguous ref name errors clog the Actions annotation limits, this is a mitigation to suppress those messages until we can get rid of the workaround.
    cory-miller authored Dec 14, 2022
    Configuration menu
    Copy the full SHA
    8856415 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2022

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

Commits on Dec 28, 2022

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

Commits on Mar 9, 2023

  1. Configuration menu
    Copy the full SHA
    7b18718 View commit details
    Browse the repository at this point in the history
  2. Upgrade dependencies (#1210)

    * Upgrade ncc & json5
    
    * Add new dist build
    Link- authored Mar 9, 2023
    Configuration menu
    Copy the full SHA
    27135e3 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. Bump @actions/io to v1.1.3 (#1225)

    * Backfill changelog and bump actions/io
    * Fill in PR for action/io upgrade
    * Licensed updates
    * Compile JS
    cory-miller authored Mar 15, 2023
    Configuration menu
    Copy the full SHA
    24cb908 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2023

  1. Configuration menu
    Copy the full SHA
    cd6a9fd View commit details
    Browse the repository at this point in the history
  2. Add new public key for known_hosts (#1237)

    * Add new public key for known_hosts
    
    * Fix the build!
    cdb authored Mar 24, 2023
    Configuration menu
    Copy the full SHA
    8f4b7f8 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. Improve checkout performance on Windows runners by upgrading @actions…

    …/github dependency (#1246)
    
    * Improve checkout performance on Windows runners by upgrading @actions/github dependency
    
    Re: #1186
    
    @dscho discovered that the checkout action could stall for a
    considerable amount of time on Windows runners waiting for PowerShell
    invocations made from 'windows-release' npm package to complete.
    
    Then I studied the dependency chain to figure out where
    'windows-release' was imported:
    
    '@actions/checkout'@main
      <- '@actions/github'@2.2.0
        <- '@octokit/endpoint'@6.0.1
        <- '@octokit/graphql'@4.3.1
        <- '@octokit/request'@5.4.2
        <- '@octokit/rest'@16.43.1
          <- 'universal-user-agent'@4.0.1
            <- 'os-name'@3.1.0
              <- 'windows-release'@3.1.0
    
    'universal-user-agent' package dropped its dependency on 'os-name' in
    https://github.com/gr2m/universal-user-agent/releases/tag/v6.0.0 .
    
    '@actions/github' v3 removed dependency on '@octokit/rest'@16.43.1 and
    allows users to move away from the old 'universal-user-agent' v4.
    (actions/toolkit#453)
    
    This pull request attempts to update the version of '@actions/github'
    used in the checkout action to avoid importing 'windows-release'.
    
    Based on testing in my own repositories, I can see an improvement in
    reduced wait time between entering the checkout action and git actually
    starts to do useful work.
    
    * Update .licenses
    
    * Rebuild index.js
    BrettDong authored Apr 12, 2023
    Configuration menu
    Copy the full SHA
    40a16eb View commit details
    Browse the repository at this point in the history
  2. Release v3.5.1 (#1284)

    * Sync checkout version with tag version
    
    * Downgrade to 3.5.1
    
    * Format changelog
    fhammerl authored Apr 12, 2023
    Configuration menu
    Copy the full SHA
    83b7061 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. Fix: convert baseUrl to serverApiUrl 'formatted' (#1289)

    * fix: convert baseUrl to apiUrl
    
    * Run prettier
    
    ---------
    
    Co-authored-by: 1newsr <[email protected]>
    fhammerl and 1newsr authored Apr 13, 2023
    Configuration menu
    Copy the full SHA
    eb35239 View commit details
    Browse the repository at this point in the history
  2. Release v3.5.2 (#1291)

    * Update version and changelog for 3.5.2
    
    * Update changelog
    fhammerl authored Apr 13, 2023
    1 Configuration menu
    Copy the full SHA
    8e5e7e5 View commit details
    Browse the repository at this point in the history

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. 5 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
Loading