docs: detailed valid states for pullRequestState (#21873)

Signed-off-by: Karsten Thoms <karsten.thoms@gmail.com>
Co-authored-by: Dan Garfield <dan@codefresh.io>
This commit is contained in:
Karsten Thoms 2025-05-15 15:39:16 +02:00 committed by GitHub
parent 8398380d46
commit 0e800341bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

2
assets/swagger.json generated
View file

@ -8895,7 +8895,7 @@
},
"pullRequestState": {
"type": "string",
"title": "PullRequestState is an additional MRs filter to get only those with a certain state. Default: \"\" (all states)"
"title": "PullRequestState is an additional MRs filter to get only those with a certain state. PullRequestState is an additional MRs filter to get only those with a certain state. By default \"\" (all states). Valid values: opened, closed, merged, locked"
},
"tokenRef": {
"$ref": "#/definitions/v1alpha1SecretRef"

View file

@ -112,7 +112,7 @@ spec:
* `api`: If using self-hosted GitLab, the URL to access it. (Optional)
* `tokenRef`: A `Secret` name and key containing the GitLab access token to use for requests. If not specified, will make anonymous requests which have a lower rate limit and can only see public repositories. (Optional)
* `labels`: Labels is used to filter the MRs that you want to target. (Optional)
* `pullRequestState`: PullRequestState is an additional MRs filter to get only those with a certain state. Default: "" (all states)
* `pullRequestState`: PullRequestState is an additional MRs filter to get only those with a certain state. By default all states. Default: "" (all states). Valid values: `""`, `opened`, `closed`, `merged` or `locked`. (Optional)
* `insecure`: By default (false) - Skip checking the validity of the SCM's certificate - useful for self-signed TLS certificates.
* `caRef`: Optional `ConfigMap` name and key containing the GitLab certificates to trust - useful for self-signed TLS certificates. Possibly reference the ArgoCD CM holding the trusted certs.