0
0
mirror of https://github.com/thegeeklab/wp-github-comment.git synced 2024-11-29 14:50:36 +00:00
wp-github-comment/data/data.yaml

59 lines
1.2 KiB
YAML
Raw Normal View History

2023-08-17 13:48:18 +00:00
---
properties:
- name: api_key
2024-01-03 21:54:02 +00:00
description: |
Personal access token to access the GitHub API.
2023-08-17 13:48:18 +00:00
type: string
required: true
- name: base_url
2024-01-03 21:54:02 +00:00
description: |
Api url.
Only need to be changed for GitHub enterprise in most cases.
2023-08-17 13:48:18 +00:00
type: string
2024-01-03 22:36:05 +00:00
defaultValue: "https://api.github.com/"
2023-08-17 13:48:18 +00:00
required: false
2024-05-16 11:54:45 +00:00
- name: insecure_skip_verify
description: |
Skip SSL verification.
type: bool
defaultValue: false
required: false
2023-08-17 13:48:18 +00:00
- name: key
2024-01-03 21:54:02 +00:00
description: |
Unique identifier to assign to a comment.
The identifier is used to update an existing comment.
2023-08-17 13:48:18 +00:00
type: string
required: false
2024-05-16 11:54:45 +00:00
- name: log_level
description: |
Plugin log level.
type: string
defaultValue: "info"
required: false
2023-08-17 13:48:18 +00:00
- name: message
2024-01-03 21:54:02 +00:00
description: |
Path to file or string that contains the comment text.
2023-08-17 13:48:18 +00:00
type: string
required: true
2024-01-03 21:54:02 +00:00
- name: skip_missing
description: |
Skip comment creation if the given message file does not exist.
2023-08-17 13:48:18 +00:00
type: bool
2024-01-03 22:36:05 +00:00
defaultValue: false
2023-08-17 13:48:18 +00:00
required: false
2024-01-03 21:54:02 +00:00
- name: update
description: |
Enable update of an existing comment that matches the key.
2023-08-17 13:48:18 +00:00
type: bool
2024-01-03 22:36:05 +00:00
defaultValue: false
2023-08-17 13:48:18 +00:00
required: false