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/docs/50-user-guide/60-reference-docs/30-promotion-steps/git-merge-pr.md
+11-10Lines changed: 11 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,30 +3,31 @@ sidebar_label: git-merge-pr
3
3
description: Merges an open pull request.
4
4
---
5
5
6
-
<spanclass="tag beta"></span>
7
6
# `git-merge-pr`
8
7
8
+
<spanclass="tag beta"></span>
9
+
9
10
`git-merge-pr` merges an open pull request. This step commonly follows a
10
11
[`git-open-pr`](git-open-pr.md) step.
11
12
12
13
## Configuration
13
14
14
-
| Name | Type | Required | Description |
15
-
|------|------|----------|-------------|
16
-
|`repoURL`|`string`| Y | The URL of a remote Git repository. |
17
-
|`provider`|`string`| N | The name of the Git provider to use. Currently `azure`, `bitbucket`, `gitea`, `github`, and `gitlab` are supported. Kargo will try to infer the provider if it is not explicitly specified. |
18
-
|`insecureSkipTLSVerify`|`boolean`| N | Indicates whether to bypass TLS certificate verification when interfacing with the Git provider. Setting this to `true` is highly discouraged in production. |
19
-
|`prNumber`|`integer`| Y | The pull request number to merge. |
20
-
|`wait`|`boolean`| N | If `true`, the step will return a running status instead of failing when the PR is not yet mergeable. The merge will be retried on the next reconciliation until it succeeds or times out. Default is `false`. |
|`repoURL`|`string`| Y | The URL of a remote Git repository.|
18
+
|`provider`|`string`| N | The name of the Git provider to use. Currently `azure`, `bitbucket`, `gitea`, `github`, and `gitlab` are supported. Kargo will try to infer the provider if it is not explicitly specified.|
19
+
|`insecureSkipTLSVerify`|`boolean`| N | Indicates whether to bypass TLS certificate verification when interfacing with the Git provider. Setting this to `true` is highly discouraged in production.|
20
+
|`prNumber`|`integer`| Y | The pull request number to merge.|
21
+
|`wait`|`boolean`| N| If `true`, the step will return a running status instead of failing when the PR is not yet mergeable. The merge will be retried on the next reconciliation until it succeeds or times out. Default is `false`. |
21
22
22
23
:::warning
23
24
The `wait` option is unreliable for repositories hosted by Bitbucket due to API limitations.
|`commit`|`string`| The ID (SHA) of the merge commit created after successfully merging the pull request. Typically, a subsequent [`argocd-update`](argocd-update.md) step will reference this output to learn the ID of the commit that an applicable Argo CD `ApplicationSource` should be observably synced to under healthy conditions. |
0 commit comments