Skip to main content

Overview

The Github tools allow you to automate various tasks related to Github repositories, issues, releases, and Actions workflows.

Key Features

  • GITHUB_LIST_REPOSITORY_ISSUES
    • List issues in a specified repository.
  • GITHUB_CREATE_AN_ISSUE
    • Create a new issue in a specified repository.
  • GITHUB_LIST_RELEASES
    • List releases from a repository, including tag names, release notes, author information, and asset URLs.
  • GITHUB_ACTIONS_RUN
    • Trigger a GitHub Actions workflow via workflow_dispatch, wait for completion, and return the run status and artifacts.

Authentication

For further details, click here. In your Github account, navigate to Settings > Developer settings > Personal access tokens. Generate a new token with the required scopes (e.g., repo for full control of private repositories). Note: Treat API keys as sensitive information and never commit them to public repositories.

Example: List Issues and Create an Issue

Example: Run a GitHub Actions Workflow

GITHUB_ACTIONS_RUN authenticates with either a Personal Access Token (pat_token) or GitHub App credentials (github_app), selected via the auth_type config.