Version 2 of the checkout action makes the SCM provider agnostic. In this version, the repository input takes the full clone URL (for example, https://github.com/cloudbees-io/checkout, with a default value of ${{ cloudbees.scm.repository }}), and previously supported inputs and outputs have been removed.
Removed inputs and outputs
| Removed Input | Removed Output |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
The input fields token and token-auth-type are not supported by the v2 checkout action. For checkout actions that previously used token and token-auth-type, the repository must now either be integrated with CloudBees platform or accessed using SSH keys.
The input fields provider, github-server-url, bitbucket-server-url, and gitlab-server-url are no longer required; they are derived from the information provided in the repository field.
Continue to the Checkout action documentation for details on using the v2 checkout action.