mirror of
				https://hub.gitmirror.com/https://github.com/actions/checkout.git
				synced 2025-11-04 03:50:06 +08:00 
			
		
		
		
	
		
			
				
	
	
	
		
			8.7 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			8.7 KiB
		
	
	
	
	
	
	
	
Changelog
V5.0.0
- Update actions checkout to use node 24 by @salmanmkc in https://github.com/actions/checkout/pull/2226
 
V4.3.0
- docs: update README.md by @motss in https://github.com/actions/checkout/pull/1971
 - Add internal repos for checking out multiple repositories by @mouismail in https://github.com/actions/checkout/pull/1977
 - Documentation update - add recommended permissions to Readme by @benwells in https://github.com/actions/checkout/pull/2043
 - Adjust positioning of user email note and permissions heading by @joshmgross in https://github.com/actions/checkout/pull/2044
 - Update README.md by @nebuk89 in https://github.com/actions/checkout/pull/2194
 - Update CODEOWNERS for actions by @TingluoHuang in https://github.com/actions/checkout/pull/2224
 - Update package dependencies by @salmanmkc in https://github.com/actions/checkout/pull/2236
 
v4.2.2
url-helper.tsnow leverages well-known environment variables by @jww3 in https://github.com/actions/checkout/pull/1941- Expand unit test coverage for 
isGhesby @jww3 in https://github.com/actions/checkout/pull/1946 
v4.2.1
- Check out other refs/* by commit if provided, fall back to ref by @orhantoy in https://github.com/actions/checkout/pull/1924
 
v4.2.0
- Add Ref and Commit outputs by @lucacome in https://github.com/actions/checkout/pull/1180
 - Dependency updates by @dependabot- https://github.com/actions/checkout/pull/1777, https://github.com/actions/checkout/pull/1872
 
v4.1.7
- Bump the minor-npm-dependencies group across 1 directory with 4 updates by @dependabot in https://github.com/actions/checkout/pull/1739
 - Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/actions/checkout/pull/1697
 - Check out other refs/* by commit by @orhantoy in https://github.com/actions/checkout/pull/1774
 - Pin actions/checkout's own workflows to a known, good, stable version. by @jww3 in https://github.com/actions/checkout/pull/1776
 
v4.1.6
- Check platform to set archive extension appropriately by @cory-miller in https://github.com/actions/checkout/pull/1732
 
v4.1.5
- Update NPM dependencies by @cory-miller in https://github.com/actions/checkout/pull/1703
 - Bump github/codeql-action from 2 to 3 by @dependabot in https://github.com/actions/checkout/pull/1694
 - Bump actions/setup-node from 1 to 4 by @dependabot in https://github.com/actions/checkout/pull/1696
 - Bump actions/upload-artifact from 2 to 4 by @dependabot in https://github.com/actions/checkout/pull/1695
 - README: Suggest 
user.emailto be41898282+github-actions[bot]@users.noreply.github.comby @cory-miller in https://github.com/actions/checkout/pull/1707 
v4.1.4
- Disable 
extensions.worktreeConfigwhen disablingsparse-checkoutby @jww3 in https://github.com/actions/checkout/pull/1692 - Add dependabot config by @cory-miller in https://github.com/actions/checkout/pull/1688
 - Bump the minor-actions-dependencies group with 2 updates by @dependabot in https://github.com/actions/checkout/pull/1693
 - Bump word-wrap from 1.2.3 to 1.2.5 by @dependabot in https://github.com/actions/checkout/pull/1643
 
v4.1.3
- Check git version before attempting to disable 
sparse-checkoutby @jww3 in https://github.com/actions/checkout/pull/1656 - Add SSH user parameter by @cory-miller in https://github.com/actions/checkout/pull/1685
 - Update 
actions/checkoutversion inupdate-main-version.ymlby @jww3 in https://github.com/actions/checkout/pull/1650 
v4.1.2
- Fix: Disable sparse checkout whenever 
sparse-checkoutoption is not present @dscho in https://github.com/actions/checkout/pull/1598 
v4.1.1
- Correct link to GitHub Docs by @peterbe in https://github.com/actions/checkout/pull/1511
 - Link to release page from what's new section by @cory-miller in https://github.com/actions/checkout/pull/1514
 
v4.1.0
v4.0.0
v3.6.0
- Fix: Mark test scripts with Bash'isms to be run via Bash
 - Add option to fetch tags even if fetch-depth > 0
 
v3.5.3
- Fix: Checkout fail in self-hosted runners when faulty submodule are checked-in
 - Fix typos found by codespell
 - Add support for sparse checkouts
 
v3.5.2
v3.5.1
v3.5.0
v3.4.0
v3.3.0
- Implement branch list using callbacks from exec function
 - Add in explicit reference to private checkout options
 - Fix comment typos (that got added in #770)
 
v3.2.0
- Add GitHub Action to perform release
 - Fix status badge
 - Replace datadog/squid with ubuntu/squid Docker image
 - Wrap pipeline commands for submoduleForeach in quotes
 - Update @actions/io to 1.1.2
 - Upgrading version to 3.2.0
 
v3.1.0
v3.0.2
v3.0.1
- Fixed an issue where checkout failed to run in container jobs due to the new git setting 
safe.directory - Bumped various npm package versions
 
v3.0.0
v2.3.1
v2.3.0
v2.2.0
v2.1.1
v2.1.0
- Group output
 - Changes to support GHES alpha release
 - Persist core.sshCommand for submodules
 - Add support ssh
 - Convert submodule SSH URL to HTTPS, when not using SSH
 - Add submodule support
 - Follow proxy settings
 - Fix ref for pr closed event when a pr is merged
 - Fix issue checking detached when git less than 2.22
 
v2.0.0
- Do not pass cred on command line
 - Add input persist-credentials
 - Fallback to REST API to download repo
 
v2 (beta)
- Improved fetch performance
- The default behavior now fetches only the SHA being checked-out
 
 - Script authenticated git commands
- Persists 
with.tokenin the local git config - Enables your scripts to run authenticated git commands
 - Post-job cleanup removes the token
 - Coming soon: Opt out by setting 
with.persist-credentialstofalse 
 - Persists 
 - Creates a local branch
- No longer detached HEAD when checking out a branch
 - A local branch is created with the corresponding upstream branch set
 
 - Improved layout
with.pathis always relative togithub.workspace- Aligns better with container actions, where 
github.workspacegets mapped in 
 - Removed input 
submodules 
v1
Refer here for the V1 changelog