Build GitHub automation and trigger AI workflows from GitHub events.
GitHub is a Sim integration in the DevOps category. Sim is the AI workspace where teams build and deploy AI agents. Sim's GitHub integration provides 87 tools and 11 triggers that AI agents can use inside Sim's visual workflow builder. GitHub connects with an API key. Free to start at sim.ai.
Last updated
Use Sim’s GitHub integration to run GitHub automation inside one AI workspace. Get pull request details, post pull request and issue comments, fetch repository and commit data, and trigger workflows from pull requests, comments, pushes, releases, and GitHub Actions events. Build GitHub workflow automation for code reviews, changelog generation, engineering digests, release operations, and documentation updates.
Sign up at sim.ai in seconds. No credit card required. Your workspace is ready immediately.
Open your workspace, drag a GitHub block onto the workflow builder, and paste in your GitHub API key.
Pick the tool you need, wire in an AI agent for reasoning or data transformation, and run. Your GitHub automation is live.
Connect a GitHub webhook to Sim and your agent runs the instant an event happens, no polling, no delay.
Trigger workflow when a new issue is opened in a GitHub repository
Trigger workflow when an issue is closed in a GitHub repository
Trigger workflow when a comment is added to an issue (not pull requests)
Trigger workflow when a new pull request is opened in a GitHub repository
Trigger workflow when a pull request is closed without being merged (e.g., abandoned) in a GitHub repository
Trigger workflow when a pull request is successfully merged in a GitHub repository
Trigger workflow when a comment is added to a pull request in a GitHub repository
Trigger workflow when a pull request review is submitted, edited, or dismissed in a GitHub repository
Trigger workflow when code is pushed to a repository
Trigger workflow when a new release is published in a GitHub repository
Trigger workflow when a GitHub Actions workflow run is requested, in progress, or completed
Ready-to-use templates featuring GitHub. Click any to build it instantly.
87 GitHub tools available to Sim agents.
Fetch PR details including diff and files changed
Create comments on GitHub PRs
Retrieve comprehensive GitHub repository metadata including stars, forks, issues, and primary language. Supports both public and private repositories with optional authentication.
Retrieve the latest commit from a GitHub repository
Create a comment on a GitHub issue
List all comments on a GitHub issue
Update an existing comment on a GitHub issue or pull request
Delete a comment on a GitHub issue or pull request
List all review comments on a GitHub pull request
Create a new pull request in a GitHub repository
Update an existing pull request in a GitHub repository
Merge a pull request in a GitHub repository
List pull requests in a GitHub repository
Get the list of files changed in a pull request
Close a pull request in a GitHub repository
Request reviewers for a pull request
Submit a review for a pull request. Use APPROVE, REQUEST_CHANGES, or COMMENT. A body is required for REQUEST_CHANGES and COMMENT reviews.
Get the content of a file from a GitHub repository. Supports files up to 1MB. Content is returned decoded and human-readable.
Create a new file in a GitHub repository. The file content will be automatically Base64 encoded. Supports files up to 1MB.
Update an existing file in a GitHub repository. Requires the file SHA. Content will be automatically Base64 encoded. Supports files up to 1MB.
Delete a file from a GitHub repository. Requires the file SHA. This operation cannot be undone through the API.
Get the contents of a directory in a GitHub repository. Returns a list of files and subdirectories. Use empty path or omit to get root directory contents.
Get the preferred README for a GitHub repository, with its content decoded to plain text.
List tags for a GitHub repository. Returns tag names with their commit SHA and download URLs.
List all branches in a GitHub repository. Optionally filter by protected status and control pagination.
Get detailed information about a specific branch in a GitHub repository, including commit details and protection status.
Create a new branch in a GitHub repository by creating a git reference pointing to a specific commit SHA.
Delete a branch from a GitHub repository by removing its git reference. Protected branches cannot be deleted.
Get the branch protection rules for a specific branch, including status checks, review requirements, and restrictions.
Update branch protection rules for a specific branch, including status checks, review requirements, admin enforcement, and push restrictions.
Create a new issue in a GitHub repository
Update an existing issue in a GitHub repository
List issues in a GitHub repository. Note: This includes pull requests as PRs are considered issues in GitHub
Get detailed information about a specific issue in a GitHub repository
Close an issue in a GitHub repository
Add labels to an issue in a GitHub repository
Remove a label from an issue in a GitHub repository
Add assignees to an issue in a GitHub repository
Create a new release for a GitHub repository. Specify tag name, target commit, title, description, and whether it should be a draft or prerelease.
Update an existing GitHub release. Modify tag name, target commit, title, description, draft status, or prerelease status.
List all releases for a GitHub repository. Returns release information including tags, names, and download URLs.
Get detailed information about a specific GitHub release by ID. Returns release metadata including assets and download URLs.
Get the latest published, non-draft, non-prerelease release for a GitHub repository. Returns release metadata including assets and download URLs.
Delete a GitHub release by ID. This permanently removes the release but does not delete the associated Git tag.
List all workflows in a GitHub repository. Returns workflow details including ID, name, path, state, and badge URL.
Get details of a specific GitHub Actions workflow by ID or filename. Returns workflow information including name, path, state, and badge URL.
Trigger a workflow dispatch event for a GitHub Actions workflow. The workflow must have a workflow_dispatch trigger configured. Returns 204 No Content on success.
List workflow runs for a repository, or for a single workflow when a workflow ID or filename is given. Supports filtering by actor, branch, event, and status. Returns run details including status, conclusion, and links.
Get detailed information about a specific workflow run by ID. Returns status, conclusion, timing, and links to the run.
Cancel a workflow run. Returns 202 Accepted if cancellation is initiated, or 409 Conflict if the run cannot be cancelled (already completed).
Rerun a workflow run. Optionally enable debug logging for the rerun. Returns 201 Created on success.
List GitHub Projects V2 for an organization or user. Returns up to 20 projects with their details including ID, title, number, URL, and status.
Get detailed information about a specific GitHub Project V2 by its number. Returns project details including ID, title, description, URL, and status.
Create a new GitHub Project V2. Requires the owner Node ID (not login name). Returns the created project with ID, title, and URL.
Update an existing GitHub Project V2. Can update title, description, visibility (public), or status (closed). Requires the project Node ID.
Delete a GitHub Project V2. This action is permanent and cannot be undone. Requires the project Node ID.
Search for code across GitHub repositories. Use qualifiers like repo:owner/name, language:js, path:src, extension:py
Search for commits across GitHub. Use qualifiers like repo:owner/name, author:user, committer:user, author-date:>2023-01-01
Search for issues and pull requests across GitHub. Use qualifiers like repo:owner/name, is:issue, is:pr, state:open, label:bug, author:user
Search for repositories across GitHub. Use qualifiers like language:python, stars:>1000, topic:react, user:owner, org:name
Search for users and organizations on GitHub. Use qualifiers like type:user, type:org, followers:>1000, repos:>10, location:city
List commits in a repository with optional filtering by SHA, path, author, committer, or date range
Get detailed information about a specific commit including files changed and stats
Compare two commits or branches to see the diff, commits between them, and changed files
Create a new gist with one or more files
Get a gist by ID including its file contents
List gists for a user or the authenticated user
Update a gist description or files. To delete a file, set its value to null in files object
Delete a gist by ID
Fork a gist to create your own copy
Star a gist
Unstar a gist
Fork a repository to your account or an organization
List forks of a repository
Create a milestone in a repository
Get a specific milestone by number
List milestones in a repository
Update a milestone in a repository
Delete a milestone from a repository
Add a reaction to an issue
Remove a reaction from an issue
Add a reaction to an issue comment
Remove a reaction from an issue comment
Star a repository
Remove star from a repository
Check if you have starred a repository
List users who have starred a repository
Sim's GitHub integration adds 87 tools and 11 triggers to the AI agents you build in Sim's visual workflow builder. Interact with GitHub or trigger workflows from GitHub events.