---
title: "Github (Getting Started)"
canonical: "https://layest.com/en/integrations/github-getting-started"
language: "en"
description: "GitHub is a platform for version control and software collaboration. Development teams manage Git repositories, review changes through pull requests, and track work in issues."
---

# Github (Getting Started)

GitHub is a platform for version control and software collaboration. Development teams manage Git repositories, review changes through pull requests, and track work in issues.

## Authentication

**OAuth 2.0**: Authorize Layest on the provider’s sign-in page. The provider issues access tokens for the permissions you grant.

## Categories

- Other

## Actions from Github (Getting Started)

These supported actions can be set up out of the box and used by our agents.

- **Add issue comment**: Create a new comment on an issue or pull request discussion thread
- **Create branch**: Create a branch ref from an existing commit SHA
- **Create issue**: Open a new GitHub issue in a repository.
- **Create label**: Create a repository label with name, color, and description
- **Create or update file**: Create a new file or update existing repository contents in a branch.
- **Create pull request**: Open a pull request from one branch into another.
- **Create release**: Publish a Git tag release for a repository.
- **Create review request**: Request reviewers or teams on an open pull request
- **Create tag object**: Create an annotated Git tag object for a commit or object SHA.
- **Delete file**: Delete a file from a repository branch.
- **Delete label**: Delete a repository label by name
- **Delete release**: Delete a release by release ID.
- **Get branch**: Retrieve branch metadata and protection status.
- **Get commit**: Retrieve a commit with changed files and stats
- **Get file contents**: Retrieve a file or directory entry from repository contents.
- **Get issue**: Fetch a single issue or pull request issue record by number.
- **Get job logs download url**: Get the API endpoint URL for a workflow job log download. Due to Nango proxy limitations with 302 redirects, this returns the API endpoint rather than the actual download URL.
- **Get label**: Retrieve a single repository label by name.
- **Get pull request**: Fetch a single pull request by number.
- **Get release**: Retrieve a single release by release ID.
- **Get repository**: Retrieve repository metadata, visibility, default branch, and owner info.
- **Get review**: Retrieve a pull request review by review ID.
- **Get tag ref**: Retrieve a tag ref or branch-style Git reference
- **Get workflow**: Retrieve metadata for a GitHub Actions workflow.
- **Get workflow run**: Retrieve a workflow run with status and conclusion details.
- **List branches**: List branches for a repository with optional pagination and protected filtering.
- **List commits**: List commits for a repository or branch with common filters
- **List issue comments**: List comments attached to an issue or pull request thread
- **List issues**: List repository issues with state, assignee, label, and pagination filters.
- **List labels**: List repository labels with pagination
- **List pull request files**: List files changed by a pull request
- **List pull request reviews**: List reviews submitted on a pull request
- **List pull requests**: List pull requests for a repository with state and branch filters
- **List release assets**: List assets uploaded to a repository release.
- **List releases**: List published and draft releases for a repository.
- **List workflow jobs**: List jobs in a workflow run attempt
- **List workflow runs**: List workflow runs for a repository or a specific workflow
- **List workflows**: List GitHub Actions workflows configured in a repository.
- **Merge pull request**: Merge an open pull request using the selected merge method.
- **Rerun workflow run**: Rerun a completed or failed workflow run.
- **Search code**: Search file contents across indexed GitHub repositories using code-search qualifiers.
- **Search commits**: Search commits across indexed repositories by message, author, or metadata qualifiers.
- **Search issues and pull requests**: Search issues and pull requests across indexed repositories using GitHub's issue-search qualifiers.
- **Search labels**: Search for labels within a specific repository by name or description.
- **Search repositories**: Search public and accessible repositories using GitHub's repository-search qualifiers.
- **Search topics**: Search GitHub topics (the tagging/categorization objects behind repository topic pages).
- **Search users**: Search GitHub user and organization accounts using user-search qualifiers.
- **Submit pull request review**: Create a pull request review with approval, comment, or change request.
- **Trigger workflow dispatch**: Trigger a GitHub Actions workflow\_dispatch run for a workflow file or ID
- **Update issue**: Edit an issue's title, body, state, assignees, labels, or milestone.
- **Update label**: Update a repository label's name, color, or description.
- **Update pull request**: Edit a pull request's title, body, base branch, or state.
- **Update release**: Edit release metadata such as name, notes, or draft state.

## Triggers from Github (Getting Started)

Once configured in Nango, these sync templates can provide changes as triggers.

- **Commits**: Sync commits for repositories and branches in scope
- **Issues**: Sync issues for one or more GitHub repositories with incremental updates based on issue activity
- **List files**: Lists all the files of a Github repo given a specific branch
- **Pull requests**: Sync pull requests for one or more GitHub repositories, including status, branches, and merge state.
- **Releases**: Sync releases for one or more GitHub repositories.
- **Repositories**: Sync repositories visible to the authenticated GitHub user or installation.
- **Repository files**: Sync file metadata for a specific repository branch using the Git trees API recursively
- **Workflow runs**: Sync GitHub Actions workflow runs for one or more repositories.
