0
0
mirror of https://github.com/thegeeklab/wp-git-action.git synced 2024-11-28 08:10:35 +00:00

docs: fix default value property in data file

This commit is contained in:
Robert Kaussow 2024-01-03 23:26:13 +01:00
parent 6865b90932
commit 96723f4bfe
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 12 additions and 12 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

@ -30,7 +30,7 @@ properties:
description: | description: |
Name of the git source branch. Name of the git source branch.
type: string type: string
defaultvalue: "main" defaultValue: "main"
required: false required: false
- name: empty_commit - name: empty_commit
@ -40,7 +40,7 @@ properties:
Usually recording a commit that has the exact same tree as its sole parent commit is a mistake, Usually recording a commit that has the exact same tree as its sole parent commit is a mistake,
and those commits are not allowed by default. and those commits are not allowed by default.
type: bool type: bool
defaultvalue: false defaultValue: false
required: false required: false
- name: followtags - name: followtags
@ -50,14 +50,14 @@ properties:
Push all the `refs` that would be pushed without this option, and also push annotated tags Push all the `refs` that would be pushed without this option, and also push annotated tags
in `refs/tags` that are missing from the remote. in `refs/tags` that are missing from the remote.
type: bool type: bool
defaultvalue: false defaultValue: false
required: false required: false
- name: force - name: force
description: | description: |
Enable force push to remote repository. Enable force push to remote repository.
type: bool type: bool
defaultvalue: false defaultValue: false
required: false required: false
- name: insecure_skip_ssl_verify - name: insecure_skip_ssl_verify
@ -66,21 +66,21 @@ properties:
Activating this option is insecure and should be avoided in most cases. Activating this option is insecure and should be avoided in most cases.
type: bool type: bool
defaultvalue: false defaultValue: false
required: false required: false
- name: message - name: message
description: | description: |
Commit message. Commit message.
type: string type: string
defaultvalue: "[skip ci] commit dirty state" defaultValue: "[skip ci] commit dirty state"
required: false required: false
- name: netrc_machine - name: netrc_machine
description: | description: |
Netrc remote machine name. Netrc remote machine name.
type: string type: string
defaultvalue: "github.com" defaultValue: "github.com"
required: false required: false
- name: netrc_password - name: netrc_password
@ -93,14 +93,14 @@ properties:
description: | description: |
Netrc login user on the remote machine. Netrc login user on the remote machine.
type: string type: string
defaultvalue: "token" defaultValue: "token"
required: false required: false
- name: no_verify - name: no_verify
description: | description: |
Bypass the pre-commit and commit-msg hooks. Bypass the pre-commit and commit-msg hooks.
type: bool type: bool
defaultvalue: false defaultValue: false
required: false required: false
- name: pages_delete - name: pages_delete
@ -110,14 +110,14 @@ properties:
When set to `true`, the `--delete` flag is added to the rsync command to remove files When set to `true`, the `--delete` flag is added to the rsync command to remove files
from the branch that do not exist in the `pages_directory` either. from the branch that do not exist in the `pages_directory` either.
type: bool type: bool
defaultvalue: true defaultValue: true
required: false required: false
- name: pages_directory - name: pages_directory
description: | description: |
Source directory to be synchronized with the pages branch. Source directory to be synchronized with the pages branch.
type: string type: string
defaultvalue: "docs/" defaultValue: "docs/"
required: false required: false
- name: pages_exclude - name: pages_exclude