You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/workflows/pipelines/actions/builtin/checkout-application.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ chapter = true
6
6
7
7
**CheckoutApplication** is a builtin action, you can't modify it.
8
8
9
-
This action clones a repository into a directory.
9
+
This action clones a repository into a directory. If you want to clone a tag from your repository in this way, in your workflow payload you can add a key in your JSON like `"git.tag": "0.2"`.
10
10
11
11
This will run git clone with the following options:
Copy file name to clipboardExpand all lines: docs/content/workflows/pipelines/actions/builtin/gitclone.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,11 @@ Advanced parameters:
22
22
23
23
* depth - optional - 50 by default. You can remove --depth with the value 'false'
24
24
* submodules - true by default, you can set false to avoid this.
25
+
* tag - optional - empty by default, you can set to `{{.git.tag}}` to clone a tag from your repository. In this way, in your workflow payload you can add a key in your JSON like `"git.tag": "0.2"`.
25
26
26
27
Notes:
27
28
28
-
By defaut, depth is 50 and git clone with `--single-branch` automatically.
29
+
By default, depth is 50 and git clone with `--single-branch` automatically.
29
30
So, if you want to do in a step script `git diff anotherBranch`, you have to set depth to 'false'.
30
31
31
32
If there is no user && password && sshkey setted in action GitClone, CDS checks on Application VCS Strategy if some auth parameters can be used.
0 commit comments