Skip to main content
The GitHub node adds GitHub operations to your workflows. Add it on the canvas or ask the AI builder for it by name, then pick an operation and fill in its fields. GitHub also includes 49 trigger operations (marked in the tables below) that can start a workflow when something happens in GitHub.
You can wire the GitHub node into an AI agent as a tool provider: the agent calls the operations you allow. See Agent tools.

Credentials

Connect GitHub under Credentials in the node settings. See Connecting credentials for the general flow.

OAuth

Sign in with your GitHub account when prompted; no keys to copy. NoClick requests the following permissions:
  • repo
  • read:user
  • user:email

Personal access token

Enter the values manually when creating the credential. Get your credentials here.

Operations

Artifact

OperationIDDescriptionTrigger
Delete Artifactdelete_artifactDelete an artifact
Download Artifactdownload_artifactDownload an artifact
Get Artifactget_artifactGet an artifact
List Repo Artifactslist_repo_artifactsList repository artifacts

Branch

OperationIDDescriptionTrigger
Create Branchcreate_branchCreate a new branch
Delete Branchdelete_branchDelete a branch
List Brancheslist_branchesList branches in a repository
List Branches by Head Commitlist_branches_by_head_commitList branches where commit is the HEAD

Commit

OperationIDDescriptionTrigger
Compare Commitscompare_commitsCompare two commits
Create Commit Commentcreate_commit_commentCreate a comment on a commit
Create Commit Statuscreate_commit_statusCreate a commit status
Create Reaction on Commit Commentcreate_reaction_on_commit_commentCreate a reaction for a commit comment
Delete Commit Comment Reactiondelete_commit_comment_reactionDelete a commit comment reaction
Get Commitget_commitGet a specific commit
List Commit Check Runslist_commit_check_runsList check runs for a git reference
List Commit Comment Reactionslist_commit_comment_reactionsList reactions for a commit comment
List Commit Commentslist_commit_commentsList comments for a commit
List Commitslist_commitsList commits in a repository
List Repo Contributorslist_repo_contributorsList contributors to a repository

Deployment

OperationIDDescriptionTrigger
Create Deploymentcreate_deploymentCreate a deployment
Create Deployment Statuscreate_deployment_statusCreate a deployment status
Delete Deploymentdelete_deploymentDelete a deployment
Get Deploymentget_deploymentGet a deployment
Get Deployment Statusget_deployment_statusGet a deployment status
List Deployment Statuseslist_deployment_statusesList deployment statuses
List Deploymentslist_deploymentsList deployments for a repository

File

OperationIDDescriptionTrigger
Create or Update Filecreate_or_update_fileCreate or update a file in a repository
Delete Filedelete_fileDelete a file from a repository
Get File Contentsget_file_contentsGet the contents of a file
List Repo Directory Contentslist_repo_directory_contentsList contents of a directory in a repository

Gist

OperationIDDescriptionTrigger
Check Gist Starredcheck_gist_starredCheck if a gist is starred
Create Gistcreate_gistCreate a new gist
Delete Gistdelete_gistDelete a gist
Fork Gistfork_gistFork a gist
Get Gistget_gistGet a specific gist
Get Gist Revisionget_gist_revisionGet a specific gist revision
List Authenticated User Gistslist_authenticated_user_gistsList gists for the authenticated user
List Gist Commitslist_gist_commitsList gist commits
List Gist Forkslist_gist_forksList gist forks
List Public Gistslist_public_gistsList public gists
List Starred Gistslist_starred_gistsList starred gists
List User Gistslist_user_gistsList gists for a user
Star Giststar_gistStar a gist
Unstar Gistunstar_gistUnstar a gist
Update Gistupdate_gistUpdate a gist

Issue

OperationIDDescriptionTrigger
Add Labels to Issueadd_labels_to_issueAdd labels to an issue
Create Issuecreate_issueCreate a new issue
Create Issue Commentcreate_issue_commentCreate a comment on an issue or pull request
Create Reaction on Issuecreate_reaction_on_issueAdd a reaction to an issue
Create Reaction on Issue Commentcreate_reaction_on_issue_commentCreate a reaction for an issue comment
Delete Issue Commentdelete_issue_commentDelete an issue comment
Delete Issue Comment Reactiondelete_issue_comment_reactionDelete an issue comment reaction
Delete Issue Reactiondelete_issue_reactionDelete an issue reaction
Get Issueget_issueGet a specific issue
Get Issue Commentget_issue_commentGet a specific issue comment
List Issue Assigneeslist_issue_assigneesList available assignees for a repository
List Issue Comment Reactionslist_issue_comment_reactionsList reactions for an issue comment
List Issue Commentslist_issue_commentsList comments on an issue
List Issue Reactionslist_issue_reactionsList reactions for an issue
List Issueslist_issuesList issues for a repository
Lock Issuelock_issueLock an issue conversation
Remove All Labels from Issueremove_all_labels_from_issueRemove all labels from an issue
Remove Label from Issueremove_label_from_issueRemove a label from an issue
Search Issuessearch_issuesSearch issues and pull requests
Set Issue Labelsset_issue_labelsSet labels for an issue (replaces all)
Unlock Issueunlock_issueUnlock an issue conversation
Update Issueupdate_issueUpdate an existing issue
Update Issue Commentupdate_issue_commentUpdate an issue comment

Label

OperationIDDescriptionTrigger
Create Labelcreate_labelCreate a label
Delete Labeldelete_labelDelete a label
Get Labelget_labelGet a label
List Repo Labelslist_repo_labelsList labels for a repository
Update Labelupdate_labelUpdate a label

Milestone

OperationIDDescriptionTrigger
Create Milestonecreate_milestoneCreate a milestone
Delete Milestonedelete_milestoneDelete a milestone
Get Milestoneget_milestoneGet a milestone
List Milestoneslist_milestonesList milestones for a repository
Update Milestoneupdate_milestoneUpdate a milestone

Notification

OperationIDDescriptionTrigger
List Notificationslist_notificationsList notifications for the authenticated user
Mark Notifications As Readmark_notifications_as_readMark notifications as read

Organization

OperationIDDescriptionTrigger
Add or Update Org Membershipadd_or_update_org_membershipAdd or update organization membership
Cancel Org Invitationcancel_org_invitationCancel an organization invitation
Check Org Membershipcheck_org_membershipCheck organization membership
Create Org Webhookcreate_org_webhookCreate an organization webhook
Get Org Membershipget_org_membershipGet organization membership for a user
Get Organizationget_organizationGet an organization
List Org Invitationslist_org_invitationsList organization invitations
List Org Memberslist_org_membersList members of an organization
List Org Members Aliaslist_org_members_aliasList organization members (alias)
List Org Teamslist_org_teamsList teams in an organization
List Org Webhookslist_org_webhooksList organization webhooks
List Pending Org Invitationslist_pending_org_invitationsList pending organization invitations (alias)
Remove Org Memberremove_org_memberRemove an organization member
Remove Org Membershipremove_org_membershipRemove organization membership
Update Organizationupdate_organizationUpdate an organization

Pull request

OperationIDDescriptionTrigger
Check Pull Request Mergedcheck_pull_request_mergedCheck if a pull request has been merged
Create Pull Requestcreate_pull_requestCreate a new pull request
Create Pull Request Reviewcreate_pull_request_reviewCreate a review on a pull request
Create Pull Request Review Commentcreate_pull_request_review_commentCreate a review comment on a pull request
Create Reaction on Pr Review Commentcreate_reaction_on_pr_review_commentCreate a reaction for a PR review comment
Delete Pending Pull Request Reviewdelete_pending_pull_request_reviewDelete a pending review
Delete Pr Review Comment Reactiondelete_pr_review_comment_reactionDelete a PR review comment reaction
Delete Pull Request Review Commentdelete_pull_request_review_commentDelete a review comment
Dismiss Pull Request Reviewdismiss_pull_request_reviewDismiss a review
Get Pull Requestget_pull_requestGet a specific pull request
Get Pull Request Review Commentget_pull_request_review_commentGet a specific review comment
List Pr Review Comment Reactionslist_pr_review_comment_reactionsList reactions for a PR review comment
List Pull Request Commitslist_pull_request_commitsList commits on a pull request
List Pull Request Fileslist_pull_request_filesList files changed in a pull request
List Pull Request Review Commentslist_pull_request_review_commentsList review comments on a pull request
List Pull Request Reviewslist_pull_request_reviewsList reviews on a pull request
List Pull Requestslist_pull_requestsList pull requests for a repository
List Pull Requests by Commitlist_pull_requests_by_commitList pull requests associated with a commit
List Review Comments for Reviewlist_review_comments_for_reviewGet comments for a specific review
Merge Pull Requestmerge_pull_requestMerge a pull request
Reply to Pull Request Review Commentreply_to_pull_request_review_commentReply to a review comment
Request Pull Request Reviewersrequest_pull_request_reviewersRequest reviewers for a pull request
Submit Pull Request Reviewsubmit_pull_request_reviewSubmit a pending review
Update Pull Requestupdate_pull_requestUpdate an existing pull request
Update Pull Request Branchupdate_pull_request_branchUpdate pull request branch with latest base branch
Update Pull Request Reviewupdate_pull_request_reviewUpdate a pending review
Update Pull Request Review Commentupdate_pull_request_review_commentUpdate a review comment

Release

OperationIDDescriptionTrigger
Create Reaction on Releasecreate_reaction_on_releaseCreate a reaction for a release
Create Releasecreate_releaseCreate a new release
Delete Releasedelete_releaseDelete a release
Delete Release Assetdelete_release_assetDelete a release asset
Delete Release Reactiondelete_release_reactionDelete a release reaction
Generate Release Notesgenerate_release_notesGenerate release notes
Get Latest Releaseget_latest_releaseGet the latest release
Get Releaseget_releaseGet a specific release
Get Release Assetget_release_assetGet a release asset
Get Release by Tagget_release_by_tagGet a release by tag name
List Release Assetslist_release_assetsList release assets
List Release Reactionslist_release_reactionsList reactions for a release
List Releaseslist_releasesList releases for a repository
Update Releaseupdate_releaseUpdate a release
Update Release Assetupdate_release_assetUpdate a release asset

Repository

OperationIDDescriptionTrigger
Add Repo Collaboratoradd_repo_collaboratorAdd a repository collaborator
Create Org Repositorycreate_org_repositoryCreate an organization repository
Create Repo for Authenticated Usercreate_repo_for_authenticated_userCreate a repository for the authenticated user
Create Repo from Templatecreate_repo_from_templateCreate a repository from a template
Create Repo Webhookcreate_repo_webhookCreate a webhook for a repository
Delete Repo Webhookdelete_repo_webhookDelete a repository webhook
Delete Repositorydelete_repositoryDelete a repository
Fork Repositoryfork_repositoryFork a repository
Get Repo Languagesget_repo_languagesGet languages used in a repository
Get Repo Topicsget_repo_topicsGet topics for a repository
Get Repo Webhookget_repo_webhookGet a repository webhook
Get Repositoryget_repositoryGet information about a repository
Get User Repo Permissionsget_user_repo_permissionsGet repository permissions for a user
List Authenticated User Reposlist_authenticated_user_reposList repositories for the authenticated user
List Org Reposlist_org_reposList repositories for an organization
List Org Repos Aliaslist_org_repos_aliasList organization repositories (alias)
List Repo Collaboratorslist_repo_collaboratorsList collaborators for a repository
List Repo Forkslist_repo_forksList forks of a repository
List Repo Invitationslist_repo_invitationsList repository invitations
List Repo Stargazerslist_repo_stargazersList stargazers for a repository
List Repo Tagslist_repo_tagsList tags in a repository
Ping Repo Webhookping_repo_webhookPing a repository webhook
Remove Repo Collaboratorremove_repo_collaboratorRemove a repository collaborator
Set Repo Topicsset_repo_topicsSet topics for a repository
Star Repositorystar_repositoryStar a repository
Test Repo Webhooktest_repo_webhookTest a repository webhook
Transfer Repositorytransfer_repositoryTransfer repository ownership
Unstar Repositoryunstar_repositoryUnstar a repository
Update Repo Invitationupdate_repo_invitationUpdate a repository invitation
Update Repo Webhookupdate_repo_webhookUpdate a repository webhook
Update Repositoryupdate_repositoryUpdate repository settings
OperationIDDescriptionTrigger
Search Codesearch_codeSearch code across repositories
Search Repositoriessearch_repositoriesSearch repositories

Team

OperationIDDescriptionTrigger
Add or Update Team Repo Permissionsadd_or_update_team_repo_permissionsAdd or update team repository permissions
Check Team Repo Permissionscheck_team_repo_permissionsCheck team permissions for a repository
Create Teamcreate_teamCreate a team
Delete Teamdelete_teamDelete a team
Get Teamget_teamGet a team
Get Team Membershipget_team_membershipGet team membership for a user
List Team Memberslist_team_membersList team members
List Team Reposlist_team_reposList team repositories
Remove Repo from Teamremove_repo_from_teamRemove a repository from a team
Update Teamupdate_teamUpdate a team

User

OperationIDDescriptionTrigger
Check User Is Collaboratorcheck_user_is_collaboratorCheck if a user is a collaborator
Get Authenticated Userget_authenticated_userGet the authenticated user
Get Userget_userGet a specific user
List User Followerslist_user_followersList followers of a user
List User Followinglist_user_followingList users followed by a user
List User Reposlist_user_reposList repositories for a specific user

Webhook

OperationIDDescriptionTrigger
Get Webhook Deliveryget_webhook_deliveryGet a webhook delivery
List Webhook Deliverieslist_webhook_deliveriesList webhook deliveries
Redeliver Webhookredeliver_webhookRedeliver a webhook

Workflow

OperationIDDescriptionTrigger
Approve Workflow Runapprove_workflow_runApprove a workflow run
Cancel Workflow Runcancel_workflow_runCancel a workflow run
Delete Workflow Rundelete_workflow_runDelete a workflow run
Delete Workflow Run Logsdelete_workflow_run_logsDelete workflow run logs
Download Workflow Run Attempt Logsdownload_workflow_run_attempt_logsDownload logs for a workflow run attempt
Download Workflow Run Logsdownload_workflow_run_logsDownload workflow run logs
Get Workflow Runget_workflow_runGet a specific workflow run
Get Workflow Run Attemptget_workflow_run_attemptGet a workflow run attempt
Get Workflow Run Usageget_workflow_run_usageGet workflow run usage
List Workflow Run Artifactslist_workflow_run_artifactsList workflow run artifacts
List Workflow Run Attempt Jobslist_workflow_run_attempt_jobsList jobs for a workflow run attempt
List Workflow Run Jobslist_workflow_run_jobsList jobs for a workflow run
List Workflow Run Pending Deploymentslist_workflow_run_pending_deploymentsList pending deployments for a workflow run
List Workflow Runslist_workflow_runsList workflow runs for a repository
List Workflowslist_workflowsList workflows in a repository
Rerun Workflowrerun_workflowRe-run a workflow
Trigger Workflow Dispatchtrigger_workflow_dispatchTrigger a workflow dispatch event

Other

OperationIDDescriptionTrigger
On Issue Assignedon_issue_assignedTrigger: fires when a GitHub issue is assigned.Yes
On Issue Closedon_issue_closedTrigger: fires when a GitHub issue is closed.Yes
On Issue Commenton_issue_commentTrigger: fires when a comment is made on an issue or pull request.Yes
On Issue Deletedon_issue_deletedTrigger: fires when a GitHub issue is deleted.Yes
On Issue Demilestonedon_issue_demilestonedTrigger: fires when a milestone is removed from a GitHub issue.Yes
On Issue Editedon_issue_editedTrigger: fires when a GitHub issue is edited.Yes
On Issue Labeledon_issue_labeledTrigger: fires when a label is added to a GitHub issue.Yes
On Issue Lockedon_issue_lockedTrigger: fires when a GitHub issue is locked.Yes
On Issue Milestonedon_issue_milestonedTrigger: fires when a milestone is added to a GitHub issue.Yes
On Issue Openedon_issue_openedTrigger: fires when a GitHub issue is opened.Yes
On Issue Pinnedon_issue_pinnedTrigger: fires when a GitHub issue is pinned.Yes
On Issue Reopenedon_issue_reopenedTrigger: fires when a GitHub issue is reopened.Yes
On Issue Transferredon_issue_transferredTrigger: fires when a GitHub issue is transferred to another repository.Yes
On Issue Unassignedon_issue_unassignedTrigger: fires when a GitHub issue is unassigned.Yes
On Issue Unlabeledon_issue_unlabeledTrigger: fires when a label is removed from a GitHub issue.Yes
On Issue Unlockedon_issue_unlockedTrigger: fires when a GitHub issue is unlocked.Yes
On Issue Unpinnedon_issue_unpinnedTrigger: fires when a GitHub issue is unpinned.Yes
On Pull Request Assignedon_pull_request_assignedTrigger: fires when a pull request is assigned.Yes
On Pull Request Auto Merge Disabledon_pull_request_auto_merge_disabledTrigger: fires when auto-merge is disabled on a pull request.Yes
On Pull Request Auto Merge Enabledon_pull_request_auto_merge_enabledTrigger: fires when auto-merge is enabled on a pull request.Yes
On Pull Request Closedon_pull_request_closedTrigger: fires when a pull request is closed without being merged.Yes
On Pull Request Converted To Drafton_pull_request_converted_to_draftTrigger: fires when a pull request is converted to draft.Yes
On Pull Request Demilestonedon_pull_request_demilestonedTrigger: fires when a milestone is removed from a pull request.Yes
On Pull Request Dequeuedon_pull_request_dequeuedTrigger: fires when a pull request is removed from the merge queue.Yes
On Pull Request Editedon_pull_request_editedTrigger: fires when a pull request’s title or body is edited.Yes
On Pull Request Enqueuedon_pull_request_enqueuedTrigger: fires when a pull request is added to the merge queue.Yes
On Pull Request Labeledon_pull_request_labeledTrigger: fires when a label is added to a pull request.Yes
On Pull Request Lockedon_pull_request_lockedTrigger: fires when a pull request is locked.Yes
On Pull Request Mergedon_pull_request_mergedTrigger: fires when a pull request is merged (action=closed with merged=true).Yes
On Pull Request Milestonedon_pull_request_milestonedTrigger: fires when a milestone is added to a pull request.Yes
On Pull Request Openedon_pull_request_openedTrigger: fires when a pull request is opened.Yes
On Pull Request Ready For Reviewon_pull_request_ready_for_reviewTrigger: fires when a draft pull request is marked as ready for review.Yes
On Pull Request Reopenedon_pull_request_reopenedTrigger: fires when a closed pull request is reopened.Yes
On Pull Request Review Request Removedon_pull_request_review_request_removedTrigger: fires when a review request is removed from a pull request.Yes
On Pull Request Review Requestedon_pull_request_review_requestedTrigger: fires when a review is requested on a pull request.Yes
On Pull Request Synchronizeon_pull_request_synchronizeTrigger: fires when new commits are pushed to a pull request’s branch.Yes
On Pull Request Unassignedon_pull_request_unassignedTrigger: fires when a pull request is unassigned.Yes
On Pull Request Unlabeledon_pull_request_unlabeledTrigger: fires when a label is removed from a pull request.Yes
On Pull Request Unlockedon_pull_request_unlockedTrigger: fires when a pull request is unlocked.Yes
On Pushon_pushTrigger: fires on a push to the repository.Yes
On Release Createdon_release_createdTrigger: fires when a draft release is created.Yes
On Release Deletedon_release_deletedTrigger: fires when a release is deleted.Yes
On Release Editedon_release_editedTrigger: fires when a release is edited.Yes
On Release Prereleasedon_release_prereleasedTrigger: fires when a release is marked as a pre-release.Yes
On Release Publishedon_release_publishedTrigger: fires when a release is published.Yes
On Release Releasedon_release_releasedTrigger: fires when a pre-release is promoted to a full release.Yes
On Release Unpublishedon_release_unpublishedTrigger: fires when a release is unpublished.Yes
On Star Createdon_star_createdTrigger: fires when someone stars the repository.Yes
On Star Deletedon_star_deletedTrigger: fires when someone unstars the repository.Yes