Agentic Service Discovery

Resources

G

GitHub

by GitHub

Manage GitHub repositories, issues, pull requests, branches, and releases. Read code, trigger workflows, and automate developer operations.

ProductivityFree / PaidAPI keygitcoderepositoriesissuespull-requestsdevopsci-cddeveloper-tools

How agents use GitHub

  • Agent monitors open issues labeled "bug" and drafts a prioritized triage report for the engineering team
  • Agent creates a pull request from a feature branch after completing a code generation task in another tool
  • Agent reads a file from the repository, modifies it based on upstream data changes, and commits the update directly
  • Agent triggers a GitHub Actions deployment workflow when a release approval is detected in a connected tool
  • Agent searches for open PRs with no reviewer assigned and posts a comment tagging the relevant team members
  • Agent creates a new release with auto-generated notes and updates a changelog file as part of a CI/CD workflow

Agent actions

Get RepositoryRetrieve metadata about a GitHub repository

Inputs: owner, repo

Returns: id, fullName, description, defaultBranch, isPrivate, stars, openIssuesCount, url

List IssuesRetrieve issues from a repository with optional filters

Inputs: owner, repo, state, labels, assignee, perPage, page

Returns: issues, count

Create IssueOpen a new issue in a repository

Inputs: owner, repo, title, body, labels, assignees, milestone

Returns: issueNumber, issueId, url, success

Update IssueUpdate the title, body, state, labels, or assignees of an existing issue

Inputs: owner, repo, issueNumber, title, body, state, labels, assignees

Returns: success, issueNumber, url

Add Issue CommentPost a comment on an issue or pull request

Inputs: owner, repo, issueNumber, body

Returns: commentId, url, success

List Pull RequestsRetrieve pull requests from a repository

Inputs: owner, repo, state, base, perPage

Returns: pullRequests, count

Create Pull RequestOpen a new pull request in a repository

Inputs: owner, repo, title, head, base, body, draft, labels, reviewers

Returns: prNumber, prId, url, success

Merge Pull RequestMerge an approved pull request

Inputs: owner, repo, prNumber, mergeMethod, commitTitle, commitMessage

Returns: success, merged, sha, message

Get File ContentRead the content of a file from a repository at a given branch or commit

Inputs: owner, repo, path, ref

Returns: content, sha, size, downloadUrl

Create or Update FileCreate a new file or update an existing one in a repository

Inputs: owner, repo, path, message, content, sha, branch

Returns: success, commitSha, fileSha, url

List BranchesRetrieve all branches for a repository

Inputs: owner, repo, perPage

Returns: branches, count

Create BranchCreate a new branch from a given commit SHA or existing branch

Inputs: owner, repo, branchName, fromRef

Returns: success, ref, sha

List CommitsRetrieve the commit history of a repository or branch

Inputs: owner, repo, sha, path, since, perPage

Returns: commits, count

Create ReleaseCreate a new GitHub release with an optional tag

Inputs: owner, repo, tagName, name, body, targetCommitish, draft, prerelease, generateReleaseNotes

Returns: releaseId, url, uploadUrl, success

Search Issues & PRsSearch for issues and pull requests across GitHub using the search API

Inputs: query, sort, order, perPage

Returns: items, totalCount

Trigger WorkflowManually dispatch a GitHub Actions workflow on a specific branch

Inputs: owner, repo, workflowId, ref, inputs

Returns: success

Example workflows

1

Automated issue triage

Search for newly opened bug reports, label them by severity, and assign them to the appropriate team member

2

Release automation

Create a GitHub release with auto-generated notes and trigger a deployment workflow when a version tag is pushed

3

PR review assistant

List open PRs, read changed files, post an automated review comment summarizing the diff, and request reviewers

About GitHub

Vendor
GitHub
Pricing Always review details with the vendor
Free / PaidThe GitHub REST API is free for public and private repositories. GitHub Free includes 500 MB storage and 2,000 Actions minutes/month. GitHub Pro/Team/Enterprise unlock higher limits and additional features.
Authentication
API key
Rate limit Always review details with the vendor
5000 requests / minute
Compatible nodes
AgentResourceInputOutput

Build an AI workflow with GitHub

Use the Agentic Planner to design, visualize, and connect GitHub with your other tools.

Open Agentic Planner

Related Productivity tools