0
0
mirror of https://github.com/thegeeklab/wp-github-comment.git synced 2024-11-23 06:30:41 +00:00
wp-github-comment/data/data.yaml

45 lines
994 B
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
- 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
- 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