2019-11-22 00:04:30 +08:00
|
|
|
# Changelog
|
|
|
|
|
2022-03-25 21:52:31 +08:00
|
|
|
## v3.0.0
|
|
|
|
|
|
|
|
- [Update to node 16](https://github.com/actions/checkout/pull/689)
|
|
|
|
|
2020-06-18 22:27:39 +08:00
|
|
|
## v2.3.1
|
|
|
|
|
|
|
|
- [Fix default branch resolution for .wiki and when using SSH](https://github.com/actions/checkout/pull/284)
|
|
|
|
|
2020-06-17 01:48:53 +08:00
|
|
|
## v2.3.0
|
|
|
|
|
|
|
|
- [Fallback to the default branch](https://github.com/actions/checkout/pull/278)
|
|
|
|
|
2020-05-28 00:37:40 +08:00
|
|
|
## v2.2.0
|
2020-06-17 01:48:53 +08:00
|
|
|
|
2020-05-28 00:37:40 +08:00
|
|
|
- [Fetch all history for all tags and branches when fetch-depth=0](https://github.com/actions/checkout/pull/258)
|
|
|
|
|
2020-05-19 22:27:02 +08:00
|
|
|
## v2.1.1
|
2020-06-17 01:48:53 +08:00
|
|
|
|
2020-05-19 22:27:02 +08:00
|
|
|
- Changes to support GHES ([here](https://github.com/actions/checkout/pull/236) and [here](https://github.com/actions/checkout/pull/248))
|
|
|
|
|
2020-04-03 04:04:37 +08:00
|
|
|
## v2.1.0
|
|
|
|
|
|
|
|
- [Group output](https://github.com/actions/checkout/pull/191)
|
|
|
|
- [Changes to support GHES alpha release](https://github.com/actions/checkout/pull/199)
|
|
|
|
- [Persist core.sshCommand for submodules](https://github.com/actions/checkout/pull/184)
|
|
|
|
- [Add support ssh](https://github.com/actions/checkout/pull/163)
|
|
|
|
- [Convert submodule SSH URL to HTTPS, when not using SSH](https://github.com/actions/checkout/pull/179)
|
|
|
|
- [Add submodule support](https://github.com/actions/checkout/pull/157)
|
|
|
|
- [Follow proxy settings](https://github.com/actions/checkout/pull/144)
|
|
|
|
- [Fix ref for pr closed event when a pr is merged](https://github.com/actions/checkout/pull/141)
|
|
|
|
- [Fix issue checking detached when git less than 2.22](https://github.com/actions/checkout/pull/128)
|
|
|
|
|
|
|
|
## v2.0.0
|
|
|
|
|
|
|
|
- [Do not pass cred on command line](https://github.com/actions/checkout/pull/108)
|
|
|
|
- [Add input persist-credentials](https://github.com/actions/checkout/pull/107)
|
|
|
|
- [Fallback to REST API to download repo](https://github.com/actions/checkout/pull/104)
|
|
|
|
|
2019-12-04 00:26:12 +08:00
|
|
|
## v2 (beta)
|
2019-11-22 00:04:30 +08:00
|
|
|
|
2019-12-03 23:28:59 +08:00
|
|
|
- Improved fetch performance
|
2019-12-04 00:26:12 +08:00
|
|
|
- The default behavior now fetches only the SHA being checked-out
|
2019-12-03 23:28:59 +08:00
|
|
|
- Script authenticated git commands
|
2019-12-04 00:26:12 +08:00
|
|
|
- Persists `with.token` in 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-credentials` to `false`
|
2019-12-03 23:28:59 +08:00
|
|
|
- Creates a local branch
|
2019-12-04 00:26:12 +08:00
|
|
|
- No longer detached HEAD when checking out a branch
|
|
|
|
- A local branch is created with the corresponding upstream branch set
|
2019-12-03 23:28:59 +08:00
|
|
|
- Improved layout
|
2019-12-04 00:26:12 +08:00
|
|
|
- `with.path` is always relative to `github.workspace`
|
|
|
|
- Aligns better with container actions, where `github.workspace` gets mapped in
|
2019-12-03 23:28:59 +08:00
|
|
|
- Removed input `submodules`
|
2019-11-22 00:04:30 +08:00
|
|
|
|
|
|
|
|
2019-12-03 23:28:59 +08:00
|
|
|
## v1
|
|
|
|
|
|
|
|
Refer [here](https://github.com/actions/checkout/blob/v1/CHANGELOG.md) for the V1 changelog
|