-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Comparing changes
Open a pull request
base repository: actions/checkout
base: v3.5.2
head repository: actions/checkout
compare: v4.1.1
- 16 commits
- 24 files changed
- 16 contributors
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
-
4
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
Commits on Aug 29, 2023
-
18
Configuration menu - View commit details
-
Copy full SHA for 97a652b - Browse repository at this point
Copy the full SHA 97a652bView commit details
Commits on Sep 1, 2023
-
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]>
3Configuration menu - View commit details
-
Copy full SHA for 8b5e8b7 - Browse repository at this point
Copy the full SHA 8b5e8b7View commit details
Commits on Sep 4, 2023
-
* Release 4.0.0 * Add new major version to workflow
2Configuration menu - View commit details
-
Copy full SHA for 3df4ab1 - Browse repository at this point
Copy the full SHA 3df4ab1View commit details
Commits on Sep 5, 2023
-
Update README.md for V4 (#1452)
* Update README.md for V4 * Update actionReference in generate-docs.ts for v4
2Configuration menu - View commit details
-
Copy full SHA for 72f2cec - Browse repository at this point
Copy the full SHA 72f2cecView commit details
Commits on Sep 22, 2023
-
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]>
9Configuration menu - View commit details
-
Copy full SHA for c533a0a - Browse repository at this point
Copy the full SHA c533a0aView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 8ade135 - Browse repository at this point
Copy the full SHA 8ade135View commit details
Commits on Oct 10, 2023
-
1
Configuration menu - View commit details
-
Copy full SHA for 7cdaf2f - Browse repository at this point
Copy the full SHA 7cdaf2fView commit details
Commits on Oct 13, 2023
-
Correct link to GitHub Docs (#1511)
No hardcoded language in the URL and uses the correct docs.github.com domain.
2Configuration menu - View commit details
-
Copy full SHA for 8530928 - Browse repository at this point
Copy the full SHA 8530928View commit details
Commits on Oct 17, 2023
-
3
Configuration menu - View commit details
-
Copy full SHA for b4ffde6 - Browse repository at this point
Copy the full SHA b4ffde6View 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.5.2...v4.1.1