Skip to main content

GitHubIssueCommenter

Posts comments to GitHub issues.

Basic Information

  • Type: haystack_integrations.github.src.haystack_integrations.components.connectors.github.issue_commenter.GitHubIssueCommenter

Inputs

ParameterTypeDefaultDescription
urlstrGitHub issue URL
commentstrComment text to post

Outputs

ParameterTypeDefaultDescription
successboolDictionary containing success status

Overview

Work in Progress

Bear with us while we're working on adding pipeline examples and most common components connections.

Posts comments to GitHub issues.

The component takes a GitHub issue URL and comment text, then posts the comment to the specified issue using the GitHub API.

Usage Example

components:
GitHubIssueCommenter:
type: github.src.haystack_integrations.components.connectors.github.issue_commenter.GitHubIssueCommenter
init_parameters:

Parameters

Init Parameters

These are the parameters you can configure in Pipeline Builder:

ParameterTypeDefaultDescription
github_tokenSecretSecret.from_env_var('GITHUB_TOKEN')GitHub personal access token for API authentication as a Secret
raise_on_failureboolTrueIf True, raises exceptions on API errors
retry_attemptsint2Number of retry attempts for failed requests

Run Method Parameters

These are the parameters you can configure for the component's run() method. This means you can pass these parameters at query time through the API, in Playground, or when running a job. For details, see Modify Pipeline Parameters at Query Time.

ParameterTypeDefaultDescription
urlstrGitHub issue URL
commentstrComment text to post