Create a comment on a GitHub.

If no authentication is provided, anonymous authentication will be used.

yaml
type: "io.kestra.plugin.github.issues.Comment"

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

Ticket number.

Ticket body.

GitHub JWT token

Does not requires additional fields to log-in

GitHub login

Requires additional field: oauthToken, to log-in

GitHub oauthToken

GitHub Personal Access Token. In addition, can be used with login or by its own

GitHub repository

Repository where issue/ticket should be created. It's a string of Username + / + Repository name