-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Comparing changes
Open a pull request
base repository: actions/checkout
base: v3.2.0
head repository: actions/checkout
compare: v3
- 19 commits
- 76 files changed
- 16 contributors
Commits on Dec 14, 2022
-
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.
Configuration menu - View commit details
-
Copy full SHA for 8856415 - Browse repository at this point
Copy the full SHA 8856415View commit details
Commits on Dec 16, 2022
-
4
Configuration menu - View commit details
-
Copy full SHA for 3ba5ee6 - Browse repository at this point
Copy the full SHA 3ba5ee6View commit details
Commits on Dec 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ac59398 - Browse repository at this point
Copy the full SHA ac59398View commit details
Commits on Mar 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7b18718 - Browse repository at this point
Copy the full SHA 7b18718View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27135e3 - Browse repository at this point
Copy the full SHA 27135e3View commit details
Commits on Mar 15, 2023
-
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
Configuration menu - View commit details
-
Copy full SHA for 24cb908 - Browse repository at this point
Copy the full SHA 24cb908View commit details
Commits on Mar 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cd6a9fd - Browse repository at this point
Copy the full SHA cd6a9fdView commit details -
Add new public key for known_hosts (#1237)
* Add new public key for known_hosts * Fix the build!
Configuration menu - View commit details
-
Copy full SHA for 8f4b7f8 - Browse repository at this point
Copy the full SHA 8f4b7f8View commit details
Commits on Apr 12, 2023
-
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
Configuration menu - View commit details
-
Copy full SHA for 40a16eb - Browse repository at this point
Copy the full SHA 40a16ebView commit details -
* Sync checkout version with tag version * Downgrade to 3.5.1 * Format changelog
Configuration menu - View commit details
-
Copy full SHA for 83b7061 - Browse repository at this point
Copy the full SHA 83b7061View commit details
Commits on Apr 13, 2023
-
Fix: convert baseUrl to serverApiUrl 'formatted' (#1289)
* fix: convert baseUrl to apiUrl * Run prettier --------- Co-authored-by: 1newsr <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb35239 - Browse repository at this point
Copy the full SHA eb35239View commit details -
* Update version and changelog for 3.5.2 * Update changelog
1Configuration menu - View commit details
-
Copy full SHA for 8e5e7e5 - Browse repository at this point
Copy the full SHA 8e5e7e5View commit details
Commits on Apr 14, 2023
-
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]>
6Configuration menu - View commit details
-
Copy full SHA for 47fbe2d - Browse repository at this point
Copy the full SHA 47fbe2dView commit details
Commits on Apr 19, 2023
-
5
Configuration menu - View commit details
-
Copy full SHA for f095bcc - Browse repository at this point
Copy the full SHA f095bccView commit details
Commits on Jun 9, 2023
-
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]>
1Configuration menu - View commit details
-
Copy full SHA for d106d46 - Browse repository at this point
Copy the full SHA d106d46View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for c85c95e - Browse repository at this point
Copy the full SHA c85c95eView commit details -
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]>
1Configuration menu - View commit details
-
Copy full SHA for 96f5310 - Browse repository at this point
Copy the full SHA 96f5310View commit details
Commits on Aug 16, 2023
-
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
3Configuration menu - View commit details
-
Copy full SHA for 7739b9b - Browse repository at this point
Copy the full SHA 7739b9bView commit details
Commits on Aug 24, 2023
-
1
Configuration menu - View commit details
-
Copy full SHA for f43a0e5 - Browse repository at this point
Copy the full SHA f43a0e5View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.2.0...v3