Comment
Create a comment on a GitHub.
If no authentication is provided, anonymous authentication will be used.
yaml
type: "io.kestra.plugin.github.issues.Comment"
Examples
Put a comment on an issue in a repository.
yaml
id: github_comment_on_issue_flow
namespace: company.team
tasks:
- id: comment_on_issue
type: io.kestra.plugin.github.issues.Comment
oauthToken: your_github_token
repository: kestra-io/kestra
issueNumber: 1347
body: "{{ execution.id }} has failed on {{ taskrun.startDate }}. See the link below for more details"
Properties
issueNumber *Requiredintegerstring
Ticket number.
body string
Ticket body.
jwtToken string
GitHub JWT token
Does not requires additional fields to log-in
login string
GitHub login
Requires additional field: oauthToken, to log-in
oauthToken string
GitHub oauthToken
GitHub Personal Access Token. In addition, can be used with login or by its own
repository string
GitHub repository
Repository where issue/ticket should be created. It's a string of Username + / + Repository name