0
0
mirror of https://github.com/thegeeklab/wp-matrix.git synced 2024-11-21 14:20:41 +00:00

docs: fix default value property in data file

This commit is contained in:
Robert Kaussow 2024-01-03 23:26:14 +01:00
parent 2617de7d2b
commit e3d501acc8
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ properties:
type: {{ . }} type: {{ . }}
{{- end }} {{- end }}
{{- with $v.Default }} {{- with $v.Default }}
defaultvalue: {{ . }} defaultValue: {{ . }}
{{- end }} {{- end }}
required: {{ default false $v.Required }} required: {{ default false $v.Required }}
{{ end -}} {{ end -}}

View File

@ -10,7 +10,7 @@ properties:
description: | description: |
Matrix home server url. Matrix home server url.
type: string type: string
defaultvalue: "https://matrix.org" defaultValue: "https://matrix.org"
required: false required: false
- name: password - name: password
@ -33,7 +33,7 @@ properties:
to the template and all fields can be referenced. To extend the functionality, to the template and all fields can be referenced. To extend the functionality,
[sprig functions](https://masterminds.github.io/sprig/) can also be used. [sprig functions](https://masterminds.github.io/sprig/) can also be used.
type: string type: string
defaultvalue: | defaultValue: |
Status: **{{ .Pipeline.Status }}** Status: **{{ .Pipeline.Status }}**
Build: [{{ .Repository.Slug }}]({{ .Pipeline.URL }}){{ if .Curr.Branch }} ({{ .Curr.Branch }}){{ end }} by {{ .Curr.Author.Name }} Build: [{{ .Repository.Slug }}]({{ .Pipeline.URL }}){{ if .Curr.Branch }} ({{ .Curr.Branch }}){{ end }} by {{ .Curr.Author.Name }}
Message: {{ .Curr.Title }}{{ if .Curr.URL }} ([source]({{ .Curr.URL }})){{ end }} Message: {{ .Curr.Title }}{{ if .Curr.URL }} ([source]({{ .Curr.URL }})){{ end }}
@ -47,7 +47,7 @@ properties:
it may be necessary to activate this option. In such cases, please ensure that the CI configuration files it may be necessary to activate this option. In such cases, please ensure that the CI configuration files
in the git repository are protected against malicious changes. in the git repository are protected against malicious changes.
type: bool type: bool
defaultvalue: false defaultValue: false
required: false required: false
- name: user_id - name: user_id