Mandala
Tools

GitHub

Interact with GitHub or trigger workflows from GitHub events

Usage Instructions

Integrate Github into the workflow. Can get get PR details, create PR comment, get repository info, and get latest commit. Can be used in trigger mode to trigger a workflow when a PR is created, commented on, or a commit is pushed.

Tools

github_pr

Fetch PR details including diff and files changed

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
pullNumbernumberYesPull request number
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable PR summary
metadataobjectDetailed PR metadata including file changes

github_comment

Create comments on GitHub PRs

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
bodystringYesComment content
pullNumbernumberYesPull request number
pathstringNoFile path for review comment
commentTypestringNoType of comment (pr_comment or file_comment)
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable comment confirmation
metadataobjectComment metadata

github_repo_info

Retrieve comprehensive GitHub repository metadata including stars, forks, issues, and primary language. Supports both public and private repositories with optional authentication.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable repository summary
metadataobjectRepository metadata

github_latest_commit

Retrieve the latest commit from a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
branchstringNoBranch name (defaults to the repository's default branch)
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable commit summary
metadataobjectCommit metadata

github_issue_comment

Create a comment on a GitHub issue

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue number
bodystringYesComment content
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable comment confirmation
metadataobjectComment metadata

github_list_issue_comments

List all comments on a GitHub issue

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue number
sincestringNoOnly show comments updated after this ISO 8601 timestamp
per_pagenumberNoNumber of results per page (max 100)
pagenumberNoPage number
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable comments summary
metadataobjectComments list metadata

github_update_comment

Update an existing comment on a GitHub issue or pull request

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
comment_idnumberYesComment ID
bodystringYesUpdated comment content
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable update confirmation
metadataobjectUpdated comment metadata

github_delete_comment

Delete a comment on a GitHub issue or pull request

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
comment_idnumberYesComment ID
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable deletion confirmation
metadataobjectDeletion result metadata

github_list_pr_comments

List all review comments on a GitHub pull request

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
pullNumbernumberYesPull request number
sortstringNoSort by created or updated
directionstringNoSort direction (asc or desc)
sincestringNoOnly show comments updated after this ISO 8601 timestamp
per_pagenumberNoNumber of results per page (max 100)
pagenumberNoPage number
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable review comments summary
metadataobjectReview comments list metadata

github_create_pr

Create a new pull request in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
titlestringYesPull request title
headstringYesThe name of the branch where your changes are implemented
basestringYesThe name of the branch you want the changes pulled into
bodystringNoPull request description (Markdown)
draftbooleanNoCreate as draft pull request
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable PR creation confirmation
metadataobjectPull request metadata

github_update_pr

Update an existing pull request in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
pullNumbernumberYesPull request number
titlestringNoNew pull request title
bodystringNoNew pull request description (Markdown)
statestringNoNew state (open or closed)
basestringNoNew base branch name
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable PR update confirmation
metadataobjectUpdated pull request metadata

github_merge_pr

Merge a pull request in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
pullNumbernumberYesPull request number
commit_titlestringNoTitle for the merge commit
commit_messagestringNoExtra detail to append to merge commit message
merge_methodstringNoMerge method: merge, squash, or rebase
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable merge confirmation
metadataobjectMerge result metadata

github_list_prs

List pull requests in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
statestringNoFilter by state: open, closed, or all
headstringNoFilter by head user or branch name (format: user:ref-name or organization:ref-name)
basestringNoFilter by base branch name
sortstringNoSort by: created, updated, popularity, or long-running
directionstringNoSort direction: asc or desc
per_pagenumberNoResults per page (max 100)
pagenumberNoPage number
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable list of pull requests
metadataobjectPull requests list metadata

github_get_pr_files

Get the list of files changed in a pull request

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
pullNumbernumberYesPull request number
per_pagenumberNoResults per page (max 100)
pagenumberNoPage number
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable list of files changed in PR
metadataobjectPR files metadata

github_close_pr

Close a pull request in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
pullNumbernumberYesPull request number
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable PR close confirmation
metadataobjectClosed pull request metadata

github_request_reviewers

Request reviewers for a pull request

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
pullNumbernumberYesPull request number
reviewersstringYesComma-separated list of user logins to request reviews from
team_reviewersstringNoComma-separated list of team slugs to request reviews from
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable reviewer request confirmation
metadataobjectRequested reviewers metadata

github_get_file_content

Get the content of a file from a GitHub repository. Supports files up to 1MB. Content is returned decoded and human-readable.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
pathstringYesPath to the file in the repository (e.g., "src/index.ts")
refstringNoBranch name, tag, or commit SHA (defaults to repository default branch)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable file information with content preview
metadataobjectFile metadata including name, path, SHA, size, and URLs

github_create_file

Create a new file in a GitHub repository. The file content will be automatically Base64 encoded. Supports files up to 1MB.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
pathstringYesPath where the file will be created (e.g., "src/newfile.ts")
messagestringYesCommit message for this file creation
contentstringYesFile content (plain text, will be Base64 encoded automatically)
branchstringNoBranch to create the file in (defaults to repository default branch)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable file creation confirmation
metadataobjectFile and commit metadata

github_update_file

Update an existing file in a GitHub repository. Requires the file SHA. Content will be automatically Base64 encoded. Supports files up to 1MB.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
pathstringYesPath to the file to update (e.g., "src/index.ts")
messagestringYesCommit message for this file update
contentstringYesNew file content (plain text, will be Base64 encoded automatically)
shastringYesThe blob SHA of the file being replaced (get from github_get_file_content)
branchstringNoBranch to update the file in (defaults to repository default branch)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable file update confirmation
metadataobjectUpdated file and commit metadata

github_delete_file

Delete a file from a GitHub repository. Requires the file SHA. This operation cannot be undone through the API.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
pathstringYesPath to the file to delete (e.g., "src/oldfile.ts")
messagestringYesCommit message for this file deletion
shastringYesThe blob SHA of the file being deleted (get from github_get_file_content)
branchstringNoBranch to delete the file from (defaults to repository default branch)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable file deletion confirmation
metadataobjectDeletion confirmation and commit metadata

github_get_tree

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.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
pathstringNoDirectory path (e.g., "src/components"). Leave empty for root directory.
refstringNoBranch name, tag, or commit SHA (defaults to repository default branch)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable directory tree listing
metadataobjectDirectory contents metadata

github_list_branches

List all branches in a GitHub repository. Optionally filter by protected status and control pagination.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
protectedbooleanNoFilter branches by protection status
per_pagenumberNoNumber of results per page (max 100, default 30)
pagenumberNoPage number for pagination (default 1)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable list of branches
metadataobjectBranch list metadata

github_get_branch

Get detailed information about a specific branch in a GitHub repository, including commit details and protection status.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
branchstringYesBranch name
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable branch details
metadataobjectBranch metadata

github_create_branch

Create a new branch in a GitHub repository by creating a git reference pointing to a specific commit SHA.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
branchstringYesName of the branch to create
shastringYesCommit SHA to point the branch to
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable branch creation confirmation
metadataobjectGit reference metadata

github_delete_branch

Delete a branch from a GitHub repository by removing its git reference. Protected branches cannot be deleted.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
branchstringYesName of the branch to delete
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable deletion confirmation
metadataobjectDeletion metadata

github_get_branch_protection

Get the branch protection rules for a specific branch, including status checks, review requirements, and restrictions.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
branchstringYesBranch name
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable branch protection summary
metadataobjectBranch protection configuration

github_update_branch_protection

Update branch protection rules for a specific branch, including status checks, review requirements, admin enforcement, and push restrictions.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
branchstringYesBranch name
required_status_checksobjectYesRequired status check configuration (null to disable). Object with strict (boolean) and contexts (string array)
enforce_adminsbooleanYesWhether to enforce restrictions for administrators
required_pull_request_reviewsobjectYesPR review requirements (null to disable). Object with optional required_approving_review_count, dismiss_stale_reviews, require_code_owner_reviews
restrictionsobjectYesPush restrictions (null to disable). Object with users (string array) and teams (string array)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable branch protection update summary
metadataobjectUpdated branch protection configuration

github_create_issue

Create a new issue in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
titlestringYesIssue title
bodystringNoIssue description/body
assigneesstringNoComma-separated list of usernames to assign to this issue
labelsstringNoComma-separated list of label names to add to this issue
milestonenumberNoMilestone number to associate with this issue
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable issue creation confirmation
metadataobjectIssue metadata

github_update_issue

Update an existing issue in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue number
titlestringNoNew issue title
bodystringNoNew issue description/body
statestringNoIssue state (open or closed)
labelsarrayNoArray of label names (replaces all existing labels)
assigneesarrayNoArray of usernames (replaces all existing assignees)
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable issue update confirmation
metadataobjectUpdated issue metadata

github_list_issues

List issues in a GitHub repository. Note: This includes pull requests as PRs are considered issues in GitHub

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
statestringNoFilter by state: open, closed, or all (default: open)
assigneestringNoFilter by assignee username
creatorstringNoFilter by creator username
labelsstringNoComma-separated list of label names to filter by
sortstringNoSort by: created, updated, or comments (default: created)
directionstringNoSort direction: asc or desc (default: desc)
per_pagenumberNoResults per page (max 100, default: 30)
pagenumberNoPage number (default: 1)
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable list of issues
metadataobjectIssues list metadata

github_get_issue

Get detailed information about a specific issue in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue number
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable issue details
metadataobjectDetailed issue metadata

github_close_issue

Close an issue in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue number
state_reasonstringNoReason for closing: completed or not_planned
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable issue close confirmation
metadataobjectClosed issue metadata

github_add_labels

Add labels to an issue in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue number
labelsstringYesComma-separated list of label names to add to the issue
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable labels confirmation
metadataobjectLabels metadata

github_remove_label

Remove a label from an issue in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue number
namestringYesLabel name to remove
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable label removal confirmation
metadataobjectRemaining labels metadata

github_add_assignees

Add assignees to an issue in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue number
assigneesstringYesComma-separated list of usernames to assign to the issue
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable assignees confirmation
metadataobjectUpdated issue metadata with assignees

github_create_release

Create a new release for a GitHub repository. Specify tag name, target commit, title, description, and whether it should be a draft or prerelease.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
tag_namestringYesThe name of the tag for this release
target_commitishstringNoSpecifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Defaults to the repository default branch.
namestringNoThe name of the release
bodystringNoText describing the contents of the release (markdown supported)
draftbooleanNotrue to create a draft (unpublished) release, false to create a published one
prereleasebooleanNotrue to identify the release as a prerelease, false to identify as a full release
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable release creation summary
metadataobjectRelease metadata including download URLs

github_update_release

Update an existing GitHub release. Modify tag name, target commit, title, description, draft status, or prerelease status.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
release_idnumberYesThe unique identifier of the release
tag_namestringNoThe name of the tag
target_commitishstringNoSpecifies the commitish value for where the tag is created from
namestringNoThe name of the release
bodystringNoText describing the contents of the release (markdown supported)
draftbooleanNotrue to set as draft, false to publish
prereleasebooleanNotrue to identify as a prerelease, false for a full release
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable release update summary
metadataobjectUpdated release metadata including download URLs

github_list_releases

List all releases for a GitHub repository. Returns release information including tags, names, and download URLs.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
per_pagenumberNoNumber of results per page (max 100)
pagenumberNoPage number of the results to fetch
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable list of releases with summary
metadataobjectReleases metadata

github_get_release

Get detailed information about a specific GitHub release by ID. Returns release metadata including assets and download URLs.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
release_idnumberYesThe unique identifier of the release
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable release details
metadataobjectRelease metadata including download URLs

github_delete_release

Delete a GitHub release by ID. This permanently removes the release but does not delete the associated Git tag.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
release_idnumberYesThe unique identifier of the release to delete
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable deletion confirmation
metadataobjectDeletion result metadata

github_list_workflows

List all workflows in a GitHub repository. Returns workflow details including ID, name, path, state, and badge URL.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
per_pagenumberNoNumber of results per page (default: 30, max: 100)
pagenumberNoPage number of results to fetch (default: 1)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable workflows summary
metadataobjectWorkflows metadata

github_get_workflow

Get details of a specific GitHub Actions workflow by ID or filename. Returns workflow information including name, path, state, and badge URL.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
workflow_idstringYesWorkflow ID (number) or workflow filename (e.g., "main.yaml")
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable workflow details
metadataobjectWorkflow metadata

github_trigger_workflow

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.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
workflow_idstringYesWorkflow ID (number) or workflow filename (e.g., "main.yaml")
refstringYesGit reference (branch or tag name) to run the workflow on
inputsobjectNoInput keys and values configured in the workflow file
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringConfirmation message
metadataobjectEmpty metadata object (204 No Content response)

github_list_workflow_runs

List workflow runs for a repository. Supports filtering by actor, branch, event, and status. Returns run details including status, conclusion, and links.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
actorstringNoFilter by user who triggered the workflow
branchstringNoFilter by branch name
eventstringNoFilter by event type (e.g., push, pull_request, workflow_dispatch)
statusstringNoFilter by status (queued, in_progress, completed, waiting, requested, pending)
per_pagenumberNoNumber of results per page (default: 30, max: 100)
pagenumberNoPage number of results to fetch (default: 1)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable workflow runs summary
metadataobjectWorkflow runs metadata

github_get_workflow_run

Get detailed information about a specific workflow run by ID. Returns status, conclusion, timing, and links to the run.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
run_idnumberYesWorkflow run ID
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable workflow run details
metadataobjectWorkflow run metadata

github_cancel_workflow_run

Cancel a workflow run. Returns 202 Accepted if cancellation is initiated, or 409 Conflict if the run cannot be cancelled (already completed).

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
run_idnumberYesWorkflow run ID to cancel
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringCancellation status message
metadataobjectCancellation metadata

github_rerun_workflow

Rerun a workflow run. Optionally enable debug logging for the rerun. Returns 201 Created on success.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
run_idnumberYesWorkflow run ID to rerun
enable_debug_loggingbooleanNoEnable debug logging for the rerun (default: false)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringRerun confirmation message
metadataobjectRerun metadata

github_list_projects

List GitHub Projects V2 for an organization or user. Returns up to 20 projects with their details including ID, title, number, URL, and status.

Input

ParameterTypeRequiredDescription
owner_typestringYesOwner type: "org" for organization or "user" for user
owner_loginstringYesOrganization or user login name
apiKeystringYesGitHub Personal Access Token with project read permissions

Output

ParameterTypeDescription
contentstringHuman-readable list of projects
metadataobjectProjects metadata

github_get_project

Get detailed information about a specific GitHub Project V2 by its number. Returns project details including ID, title, description, URL, and status.

Input

ParameterTypeRequiredDescription
owner_typestringYesOwner type: "org" for organization or "user" for user
owner_loginstringYesOrganization or user login name
project_numbernumberYesProject number
apiKeystringYesGitHub Personal Access Token with project read permissions

Output

ParameterTypeDescription
contentstringHuman-readable project details
metadataobjectProject metadata

github_create_project

Create a new GitHub Project V2. Requires the owner Node ID (not login name). Returns the created project with ID, title, and URL.

Input

ParameterTypeRequiredDescription
owner_idstringYesOwner Node ID (format: PVT_... or MDQ6...). Use GitHub GraphQL API to get this ID from organization or user login.
titlestringYesProject title
apiKeystringYesGitHub Personal Access Token with project write permissions

Output

ParameterTypeDescription
contentstringHuman-readable confirmation message
metadataobjectCreated project metadata

github_update_project

Update an existing GitHub Project V2. Can update title, description, visibility (public), or status (closed). Requires the project Node ID.

Input

ParameterTypeRequiredDescription
project_idstringYesProject Node ID (format: PVT_...)
titlestringNoNew project title
shortDescriptionstringNoNew project short description
project_publicbooleanNoSet project visibility (true = public, false = private)
closedbooleanNoSet project status (true = closed, false = open)
apiKeystringYesGitHub Personal Access Token with project write permissions

Output

ParameterTypeDescription
contentstringHuman-readable confirmation message
metadataobjectUpdated project metadata

github_delete_project

Delete a GitHub Project V2. This action is permanent and cannot be undone. Requires the project Node ID.

Input

ParameterTypeRequiredDescription
project_idstringYesProject Node ID (format: PVT_...)
apiKeystringYesGitHub Personal Access Token with project admin permissions

Output

ParameterTypeDescription
contentstringHuman-readable confirmation message
metadataobjectDeleted project metadata

Triggers

github_issue_opened

Trigger workflow when a new issue is opened in a GitHub repository

Output

ParameterTypeDescription
actionstringAction performed (opened, closed, reopened, edited, etc.)
issue.idnumberIssue ID
issue.node_idstringIssue node ID
issue.numbernumberIssue number
issue.titlestringIssue title
issue.bodystringIssue body/description
issue.statestringIssue state (open, closed)
issue.state_reasonstringReason for state (completed, not_planned, reopened)
issue.html_urlstringIssue HTML URL
issue.user.loginstringUsername
issue.user.idnumberUser ID
issue.user.node_idstringUser node ID
issue.user.avatar_urlstringAvatar URL
issue.user.html_urlstringProfile URL
issue.user.user_typestringUser type (User, Bot, Organization)
issue.labelsarrayArray of label objects
issue.assigneesarrayArray of assigned users
issue.milestoneobjectMilestone object if assigned
issue.created_atstringIssue creation timestamp
issue.updated_atstringIssue last update timestamp
issue.closed_atstringIssue closed timestamp
repository.idnumberRepository ID
repository.node_idstringRepository node ID
repository.namestringRepository name
repository.full_namestringRepository full name (owner/repo)
repository.privatebooleanWhether the repository is private
repository.html_urlstringRepository HTML URL
repository.repo_descriptionstringRepository description
repository.forkbooleanWhether the repository is a fork
repository.urlstringRepository API URL
repository.homepagestringRepository homepage URL
repository.sizenumberRepository size in KB
repository.stargazers_countnumberNumber of stars
repository.watchers_countnumberNumber of watchers
repository.languagestringPrimary programming language
repository.forks_countnumberNumber of forks
repository.open_issues_countnumberNumber of open issues
repository.default_branchstringDefault branch name
repository.owner.loginstringOwner username
repository.owner.idnumberOwner ID
repository.owner.avatar_urlstringOwner avatar URL
repository.owner.html_urlstringOwner profile URL
repository.owner.owner_typestringOwner type (User, Organization)
sender.loginstringUsername
sender.idnumberUser ID
sender.node_idstringUser node ID
sender.avatar_urlstringAvatar URL
sender.html_urlstringProfile URL
sender.user_typestringUser type (User, Bot, Organization)

github_issue_closed

Trigger workflow when an issue is closed in a GitHub repository

Output

ParameterTypeDescription
actionstringAction performed (opened, closed, reopened, edited, etc.)
issue.idnumberIssue ID
issue.node_idstringIssue node ID
issue.numbernumberIssue number
issue.titlestringIssue title
issue.bodystringIssue body/description
issue.statestringIssue state (open, closed)
issue.state_reasonstringReason for state (completed, not_planned, reopened)
issue.html_urlstringIssue HTML URL
issue.user.loginstringUsername
issue.user.idnumberUser ID
issue.user.node_idstringUser node ID
issue.user.avatar_urlstringAvatar URL
issue.user.html_urlstringProfile URL
issue.user.user_typestringUser type (User, Bot, Organization)
issue.labelsarrayArray of label objects
issue.assigneesarrayArray of assigned users
issue.milestoneobjectMilestone object if assigned
issue.created_atstringIssue creation timestamp
issue.updated_atstringIssue last update timestamp
issue.closed_atstringIssue closed timestamp
repository.idnumberRepository ID
repository.node_idstringRepository node ID
repository.namestringRepository name
repository.full_namestringRepository full name (owner/repo)
repository.privatebooleanWhether the repository is private
repository.html_urlstringRepository HTML URL
repository.repo_descriptionstringRepository description
repository.forkbooleanWhether the repository is a fork
repository.urlstringRepository API URL
repository.homepagestringRepository homepage URL
repository.sizenumberRepository size in KB
repository.stargazers_countnumberNumber of stars
repository.watchers_countnumberNumber of watchers
repository.languagestringPrimary programming language
repository.forks_countnumberNumber of forks
repository.open_issues_countnumberNumber of open issues
repository.default_branchstringDefault branch name
repository.owner.loginstringOwner username
repository.owner.idnumberOwner ID
repository.owner.avatar_urlstringOwner avatar URL
repository.owner.html_urlstringOwner profile URL
repository.owner.owner_typestringOwner type (User, Organization)
sender.loginstringUsername
sender.idnumberUser ID
sender.node_idstringUser node ID
sender.avatar_urlstringAvatar URL
sender.html_urlstringProfile URL
sender.user_typestringUser type (User, Bot, Organization)

github_issue_comment

Trigger workflow when a comment is added to an issue (not pull requests)

Output

ParameterTypeDescription
actionstringAction performed (created, edited, deleted)
issue.numbernumberIssue number
issue.titlestringIssue title
issue.statestringIssue state (open, closed)
issue.html_urlstringIssue HTML URL
issue.user.loginstringUsername
issue.user.idnumberUser ID
issue.user.node_idstringUser node ID
issue.user.avatar_urlstringAvatar URL
issue.user.html_urlstringProfile URL
issue.user.user_typestringUser type (User, Bot, Organization)
comment.idnumberComment ID
comment.node_idstringComment node ID
comment.bodystringComment text
comment.html_urlstringComment HTML URL
comment.user.loginstringUsername
comment.user.idnumberUser ID
comment.user.node_idstringUser node ID
comment.user.avatar_urlstringAvatar URL
comment.user.html_urlstringProfile URL
comment.user.user_typestringUser type (User, Bot, Organization)
comment.created_atstringComment creation timestamp
comment.updated_atstringComment last update timestamp
repository.idnumberRepository ID
repository.node_idstringRepository node ID
repository.namestringRepository name
repository.full_namestringRepository full name (owner/repo)
repository.privatebooleanWhether the repository is private
repository.html_urlstringRepository HTML URL
repository.repo_descriptionstringRepository description
repository.forkbooleanWhether the repository is a fork
repository.urlstringRepository API URL
repository.homepagestringRepository homepage URL
repository.sizenumberRepository size in KB
repository.stargazers_countnumberNumber of stars
repository.watchers_countnumberNumber of watchers
repository.languagestringPrimary programming language
repository.forks_countnumberNumber of forks
repository.open_issues_countnumberNumber of open issues
repository.default_branchstringDefault branch name
repository.owner.loginstringOwner username
repository.owner.idnumberOwner ID
repository.owner.avatar_urlstringOwner avatar URL
repository.owner.html_urlstringOwner profile URL
repository.owner.owner_typestringOwner type (User, Organization)
sender.loginstringUsername
sender.idnumberUser ID
sender.node_idstringUser node ID
sender.avatar_urlstringAvatar URL
sender.html_urlstringProfile URL
sender.user_typestringUser type (User, Bot, Organization)

github_pr_opened

Trigger workflow when a new pull request is opened in a GitHub repository

Output

ParameterTypeDescription
actionstringAction performed (opened, closed, synchronize, reopened, edited, etc.)
numbernumberPull request number
pull_request.idnumberPull request ID
pull_request.node_idstringPull request node ID
pull_request.numbernumberPull request number
pull_request.titlestringPull request title
pull_request.bodystringPull request description
pull_request.statestringPull request state (open, closed)
pull_request.mergedbooleanWhether the PR was merged
pull_request.merged_atstringTimestamp when PR was merged
pull_request.merged_by.loginstringUsername
pull_request.merged_by.idnumberUser ID
pull_request.merged_by.node_idstringUser node ID
pull_request.merged_by.avatar_urlstringAvatar URL
pull_request.merged_by.html_urlstringProfile URL
pull_request.merged_by.user_typestringUser type (User, Bot, Organization)
pull_request.draftbooleanWhether the PR is a draft
pull_request.html_urlstringPull request HTML URL
pull_request.diff_urlstringPull request diff URL
pull_request.patch_urlstringPull request patch URL
pull_request.user.loginstringUsername
pull_request.user.idnumberUser ID
pull_request.user.node_idstringUser node ID
pull_request.user.avatar_urlstringAvatar URL
pull_request.user.html_urlstringProfile URL
pull_request.user.user_typestringUser type (User, Bot, Organization)
pull_request.head.refstringSource branch name
pull_request.head.shastringSource branch commit SHA
pull_request.head.repo.namestringSource repository name
pull_request.head.repo.full_namestringSource repository full name
pull_request.base.refstringTarget branch name
pull_request.base.shastringTarget branch commit SHA
pull_request.base.repo.namestringTarget repository name
pull_request.base.repo.full_namestringTarget repository full name
pull_request.additionsnumberNumber of lines added
pull_request.deletionsnumberNumber of lines deleted
pull_request.changed_filesnumberNumber of files changed
pull_request.labelsarrayArray of label objects
pull_request.assigneesarrayArray of assigned users
pull_request.requested_reviewersarrayArray of requested reviewers
pull_request.created_atstringPull request creation timestamp
pull_request.updated_atstringPull request last update timestamp
pull_request.closed_atstringPull request closed timestamp
repository.idnumberRepository ID
repository.node_idstringRepository node ID
repository.namestringRepository name
repository.full_namestringRepository full name (owner/repo)
repository.privatebooleanWhether the repository is private
repository.html_urlstringRepository HTML URL
repository.repo_descriptionstringRepository description
repository.forkbooleanWhether the repository is a fork
repository.urlstringRepository API URL
repository.homepagestringRepository homepage URL
repository.sizenumberRepository size in KB
repository.stargazers_countnumberNumber of stars
repository.watchers_countnumberNumber of watchers
repository.languagestringPrimary programming language
repository.forks_countnumberNumber of forks
repository.open_issues_countnumberNumber of open issues
repository.default_branchstringDefault branch name
repository.owner.loginstringOwner username
repository.owner.idnumberOwner ID
repository.owner.avatar_urlstringOwner avatar URL
repository.owner.html_urlstringOwner profile URL
repository.owner.owner_typestringOwner type (User, Organization)
sender.loginstringUsername
sender.idnumberUser ID
sender.node_idstringUser node ID
sender.avatar_urlstringAvatar URL
sender.html_urlstringProfile URL
sender.user_typestringUser type (User, Bot, Organization)

github_pr_closed

Trigger workflow when a pull request is closed without being merged (e.g., abandoned) in a GitHub repository

Output

ParameterTypeDescription
actionstringAction performed (opened, closed, synchronize, reopened, edited, etc.)
numbernumberPull request number
pull_request.idnumberPull request ID
pull_request.node_idstringPull request node ID
pull_request.numbernumberPull request number
pull_request.titlestringPull request title
pull_request.bodystringPull request description
pull_request.statestringPull request state (open, closed)
pull_request.mergedbooleanWhether the PR was merged
pull_request.merged_atstringTimestamp when PR was merged
pull_request.merged_by.loginstringUsername
pull_request.merged_by.idnumberUser ID
pull_request.merged_by.node_idstringUser node ID
pull_request.merged_by.avatar_urlstringAvatar URL
pull_request.merged_by.html_urlstringProfile URL
pull_request.merged_by.user_typestringUser type (User, Bot, Organization)
pull_request.draftbooleanWhether the PR is a draft
pull_request.html_urlstringPull request HTML URL
pull_request.diff_urlstringPull request diff URL
pull_request.patch_urlstringPull request patch URL
pull_request.user.loginstringUsername
pull_request.user.idnumberUser ID
pull_request.user.node_idstringUser node ID
pull_request.user.avatar_urlstringAvatar URL
pull_request.user.html_urlstringProfile URL
pull_request.user.user_typestringUser type (User, Bot, Organization)
pull_request.head.refstringSource branch name
pull_request.head.shastringSource branch commit SHA
pull_request.head.repo.namestringSource repository name
pull_request.head.repo.full_namestringSource repository full name
pull_request.base.refstringTarget branch name
pull_request.base.shastringTarget branch commit SHA
pull_request.base.repo.namestringTarget repository name
pull_request.base.repo.full_namestringTarget repository full name
pull_request.additionsnumberNumber of lines added
pull_request.deletionsnumberNumber of lines deleted
pull_request.changed_filesnumberNumber of files changed
pull_request.labelsarrayArray of label objects
pull_request.assigneesarrayArray of assigned users
pull_request.requested_reviewersarrayArray of requested reviewers
pull_request.created_atstringPull request creation timestamp
pull_request.updated_atstringPull request last update timestamp
pull_request.closed_atstringPull request closed timestamp
repository.idnumberRepository ID
repository.node_idstringRepository node ID
repository.namestringRepository name
repository.full_namestringRepository full name (owner/repo)
repository.privatebooleanWhether the repository is private
repository.html_urlstringRepository HTML URL
repository.repo_descriptionstringRepository description
repository.forkbooleanWhether the repository is a fork
repository.urlstringRepository API URL
repository.homepagestringRepository homepage URL
repository.sizenumberRepository size in KB
repository.stargazers_countnumberNumber of stars
repository.watchers_countnumberNumber of watchers
repository.languagestringPrimary programming language
repository.forks_countnumberNumber of forks
repository.open_issues_countnumberNumber of open issues
repository.default_branchstringDefault branch name
repository.owner.loginstringOwner username
repository.owner.idnumberOwner ID
repository.owner.avatar_urlstringOwner avatar URL
repository.owner.html_urlstringOwner profile URL
sender.loginstringUsername
sender.idnumberUser ID
sender.node_idstringUser node ID
sender.avatar_urlstringAvatar URL
sender.html_urlstringProfile URL
sender.user_typestringUser type (User, Bot, Organization)

github_pr_merged

Trigger workflow when a pull request is successfully merged in a GitHub repository

Output

ParameterTypeDescription
actionstringAction performed (opened, closed, synchronize, reopened, edited, etc.)
numbernumberPull request number
pull_request.idnumberPull request ID
pull_request.node_idstringPull request node ID
pull_request.numbernumberPull request number
pull_request.titlestringPull request title
pull_request.bodystringPull request description
pull_request.statestringPull request state (open, closed)
pull_request.mergedbooleanWhether the PR was merged
pull_request.merged_atstringTimestamp when PR was merged
pull_request.merged_by.loginstringUsername
pull_request.merged_by.idnumberUser ID
pull_request.merged_by.node_idstringUser node ID
pull_request.merged_by.avatar_urlstringAvatar URL
pull_request.merged_by.html_urlstringProfile URL
pull_request.merged_by.user_typestringUser type (User, Bot, Organization)
pull_request.draftbooleanWhether the PR is a draft
pull_request.html_urlstringPull request HTML URL
pull_request.diff_urlstringPull request diff URL
pull_request.patch_urlstringPull request patch URL
pull_request.user.loginstringUsername
pull_request.user.idnumberUser ID
pull_request.user.node_idstringUser node ID
pull_request.user.avatar_urlstringAvatar URL
pull_request.user.html_urlstringProfile URL
pull_request.user.user_typestringUser type (User, Bot, Organization)
pull_request.head.refstringSource branch name
pull_request.head.shastringSource branch commit SHA
pull_request.head.repo.namestringSource repository name
pull_request.head.repo.full_namestringSource repository full name
pull_request.base.refstringTarget branch name
pull_request.base.shastringTarget branch commit SHA
pull_request.base.repo.namestringTarget repository name
pull_request.base.repo.full_namestringTarget repository full name
pull_request.additionsnumberNumber of lines added
pull_request.deletionsnumberNumber of lines deleted
pull_request.changed_filesnumberNumber of files changed
pull_request.labelsarrayArray of label objects
pull_request.assigneesarrayArray of assigned users
pull_request.requested_reviewersarrayArray of requested reviewers
pull_request.created_atstringPull request creation timestamp
pull_request.updated_atstringPull request last update timestamp
pull_request.closed_atstringPull request closed timestamp
repository.idnumberRepository ID
repository.node_idstringRepository node ID
repository.namestringRepository name
repository.full_namestringRepository full name (owner/repo)
repository.privatebooleanWhether the repository is private
repository.html_urlstringRepository HTML URL
repository.repo_descriptionstringRepository description
repository.forkbooleanWhether the repository is a fork
repository.urlstringRepository API URL
repository.homepagestringRepository homepage URL
repository.sizenumberRepository size in KB
repository.stargazers_countnumberNumber of stars
repository.watchers_countnumberNumber of watchers
repository.languagestringPrimary programming language
repository.forks_countnumberNumber of forks
repository.open_issues_countnumberNumber of open issues
repository.default_branchstringDefault branch name
repository.owner.loginstringOwner username
repository.owner.idnumberOwner ID
repository.owner.avatar_urlstringOwner avatar URL
repository.owner.html_urlstringOwner profile URL
sender.loginstringUsername
sender.idnumberUser ID
sender.node_idstringUser node ID
sender.avatar_urlstringAvatar URL
sender.html_urlstringProfile URL
sender.user_typestringUser type (User, Bot, Organization)

github_pr_comment

Trigger workflow when a comment is added to a pull request in a GitHub repository

Output

ParameterTypeDescription
actionstringAction performed (created, edited, deleted)
issue.idnumberIssue ID
issue.node_idstringIssue node ID
issue.numbernumberIssue/PR number
issue.titlestringIssue/PR title
issue.bodystringIssue/PR description
issue.statestringIssue/PR state (open, closed)
issue.html_urlstringIssue/PR HTML URL
issue.user.loginstringUsername
issue.user.idnumberUser ID
issue.user.node_idstringUser node ID
issue.user.avatar_urlstringAvatar URL
issue.user.html_urlstringProfile URL
issue.user.user_typestringUser type (User, Bot, Organization)
issue.labelsarrayArray of label objects
issue.assigneesarrayArray of assigned users
issue.pull_request.urlstringPull request API URL (present only for PR comments)
issue.pull_request.html_urlstringPull request HTML URL
issue.pull_request.diff_urlstringPull request diff URL
issue.pull_request.patch_urlstringPull request patch URL
issue.created_atstringIssue/PR creation timestamp
issue.updated_atstringIssue/PR last update timestamp
comment.idnumberComment ID
comment.node_idstringComment node ID
comment.urlstringComment API URL
comment.html_urlstringComment HTML URL
comment.bodystringComment text
comment.user.loginstringUsername
comment.user.idnumberUser ID
comment.user.node_idstringUser node ID
comment.user.avatar_urlstringAvatar URL
comment.user.html_urlstringProfile URL
comment.user.user_typestringUser type (User, Bot, Organization)
comment.created_atstringComment creation timestamp
comment.updated_atstringComment last update timestamp
repository.idnumberRepository ID
repository.node_idstringRepository node ID
repository.namestringRepository name
repository.full_namestringRepository full name (owner/repo)
repository.privatebooleanWhether the repository is private
repository.html_urlstringRepository HTML URL
repository.repo_descriptionstringRepository description
repository.owner.loginstringOwner username
repository.owner.idnumberOwner ID
repository.owner.node_idstringOwner node ID
repository.owner.avatar_urlstringOwner avatar URL
repository.owner.html_urlstringOwner profile URL
repository.owner.owner_typestringOwner type (User, Organization)
sender.loginstringUsername
sender.idnumberUser ID
sender.node_idstringUser node ID
sender.avatar_urlstringAvatar URL
sender.html_urlstringProfile URL
sender.user_typestringUser type (User, Bot, Organization)

github_pr_reviewed

Trigger workflow when a pull request review is submitted, edited, or dismissed in a GitHub repository

Output

ParameterTypeDescription
actionstringAction performed (submitted, edited, dismissed)
review.idnumberReview ID
review.node_idstringReview node ID
review.user.loginstringReviewer username
review.user.idnumberReviewer user ID
review.user.node_idstringReviewer node ID
review.user.avatar_urlstringReviewer avatar URL
review.user.html_urlstringReviewer profile URL
review.user.user_typestringUser type (User, Bot, Organization)
review.bodystringReview comment text
review.statestringReview state (approved, changes_requested, commented, dismissed)
review.html_urlstringReview HTML URL
review.submitted_atstringReview submission timestamp
review.commit_idstringCommit SHA that was reviewed
review.author_associationstringAuthor association (OWNER, MEMBER, COLLABORATOR, CONTRIBUTOR, etc.)
pull_request.idnumberPull request ID
pull_request.node_idstringPull request node ID
pull_request.numbernumberPull request number
pull_request.titlestringPull request title
pull_request.bodystringPull request description
pull_request.statestringPull request state (open, closed)
pull_request.mergedbooleanWhether the PR was merged
pull_request.draftbooleanWhether the PR is a draft
pull_request.html_urlstringPull request HTML URL
pull_request.diff_urlstringPull request diff URL
pull_request.patch_urlstringPull request patch URL
pull_request.user.loginstringPR author username
pull_request.user.idnumberPR author user ID
pull_request.user.node_idstringPR author node ID
pull_request.user.avatar_urlstringPR author avatar URL
pull_request.user.html_urlstringPR author profile URL
pull_request.user.user_typestringUser type (User, Bot, Organization)
pull_request.head.refstringSource branch name
pull_request.head.shastringSource branch commit SHA
pull_request.head.repo.namestringSource repository name
pull_request.head.repo.full_namestringSource repository full name
pull_request.base.refstringTarget branch name
pull_request.base.shastringTarget branch commit SHA
pull_request.base.repo.namestringTarget repository name
pull_request.base.repo.full_namestringTarget repository full name
pull_request.created_atstringPull request creation timestamp
pull_request.updated_atstringPull request last update timestamp
repository.idnumberRepository ID
repository.node_idstringRepository node ID
repository.namestringRepository name
repository.full_namestringRepository full name (owner/repo)
repository.privatebooleanWhether the repository is private
repository.html_urlstringRepository HTML URL
repository.repo_descriptionstringRepository description
repository.owner.loginstringOwner username
repository.owner.idnumberOwner ID
repository.owner.node_idstringOwner node ID
repository.owner.avatar_urlstringOwner avatar URL
repository.owner.html_urlstringOwner profile URL
repository.owner.owner_typestringOwner type (User, Organization)
sender.loginstringUsername
sender.idnumberUser ID
sender.node_idstringUser node ID
sender.avatar_urlstringAvatar URL
sender.html_urlstringProfile URL
sender.user_typestringUser type (User, Bot, Organization)

github_push

Trigger workflow when code is pushed to a repository

Output

ParameterTypeDescription
refstringGit reference that was pushed (e.g., refs/heads/main)
beforestringSHA of the commit before the push
afterstringSHA of the commit after the push
createdbooleanWhether this push created a new branch or tag
deletedbooleanWhether this push deleted a branch or tag
forcedbooleanWhether this was a force push
base_refstringBase reference for the push
comparestringURL to compare the changes
commitsarrayArray of commit objects included in this push
head_commit.idstringCommit SHA of the most recent commit
head_commit.tree_idstringGit tree SHA
head_commit.distinctbooleanWhether this commit is distinct
head_commit.messagestringCommit message
head_commit.timestampstringCommit timestamp
head_commit.urlstringCommit URL
head_commit.author.namestringAuthor name
head_commit.author.emailstringAuthor email
head_commit.author.usernamestringAuthor GitHub username
head_commit.committer.namestringCommitter name
head_commit.committer.emailstringCommitter email
head_commit.committer.usernamestringCommitter GitHub username
head_commit.addedarrayArray of file paths added in this commit
head_commit.removedarrayArray of file paths removed in this commit
head_commit.modifiedarrayArray of file paths modified in this commit
pusher.namestringPusher name
pusher.emailstringPusher email
repository.idnumberRepository ID
repository.node_idstringRepository node ID
repository.namestringRepository name
repository.full_namestringRepository full name (owner/repo)
repository.privatebooleanWhether the repository is private
repository.html_urlstringRepository HTML URL
repository.repo_descriptionstringRepository description
repository.forkbooleanWhether the repository is a fork
repository.urlstringRepository API URL
repository.homepagestringRepository homepage URL
repository.sizenumberRepository size in KB
repository.stargazers_countnumberNumber of stars
repository.watchers_countnumberNumber of watchers
repository.languagestringPrimary programming language
repository.forks_countnumberNumber of forks
repository.open_issues_countnumberNumber of open issues
repository.default_branchstringDefault branch name
repository.owner.loginstringOwner username
repository.owner.idnumberOwner ID
repository.owner.node_idstringOwner node ID
repository.owner.avatar_urlstringOwner avatar URL
repository.owner.html_urlstringOwner profile URL
repository.owner.owner_typestringOwner type (User, Organization)
sender.loginstringUsername
sender.idnumberUser ID
sender.node_idstringUser node ID
sender.avatar_urlstringAvatar URL
sender.html_urlstringProfile URL
sender.user_typestringUser type (User, Bot, Organization)

github_release_published

Trigger workflow when a new release is published in a GitHub repository

Output

ParameterTypeDescription
actionstringAction performed (published, unpublished, created, edited, deleted, prereleased, released)
release.idnumberRelease ID
release.node_idstringRelease node ID
release.tag_namestringGit tag name for the release
release.target_commitishstringTarget branch or commit SHA
release.namestringRelease name/title
release.bodystringRelease description/notes in markdown format
release.draftbooleanWhether the release is a draft
release.prereleasebooleanWhether the release is a pre-release
release.created_atstringRelease creation timestamp
release.published_atstringRelease publication timestamp
release.urlstringRelease API URL
release.html_urlstringRelease HTML URL
release.assets_urlstringRelease assets API URL
release.upload_urlstringURL for uploading release assets
release.tarball_urlstringSource code tarball download URL
release.zipball_urlstringSource code zipball download URL
release.discussion_urlstringDiscussion URL if available
release.author.loginstringUsername
release.author.idnumberUser ID
release.author.node_idstringUser node ID
release.author.avatar_urlstringAvatar URL
release.author.gravatar_idstringGravatar ID
release.author.urlstringUser API URL
release.author.html_urlstringProfile URL
release.author.followers_urlstringFollowers API URL
release.author.following_urlstringFollowing API URL
release.author.gists_urlstringGists API URL
release.author.starred_urlstringStarred repositories API URL
release.author.subscriptions_urlstringSubscriptions API URL
release.author.organizations_urlstringOrganizations API URL
release.author.repos_urlstringRepositories API URL
release.author.events_urlstringEvents API URL
release.author.received_events_urlstringReceived events API URL
release.author.user_typestringUser type (User, Bot, Organization)
release.author.site_adminbooleanWhether user is a site administrator
release.assetsarrayArray of release asset objects with download URLs
repository.idnumberRepository ID
repository.node_idstringRepository node ID
repository.namestringRepository name
repository.full_namestringRepository full name (owner/repo)
repository.privatebooleanWhether the repository is private
repository.html_urlstringRepository HTML URL
repository.repo_descriptionstringRepository description
repository.forkbooleanWhether the repository is a fork
repository.urlstringRepository API URL
repository.archive_urlstringArchive API URL
repository.assignees_urlstringAssignees API URL
repository.blobs_urlstringBlobs API URL
repository.branches_urlstringBranches API URL
repository.collaborators_urlstringCollaborators API URL
repository.comments_urlstringComments API URL
repository.commits_urlstringCommits API URL
repository.compare_urlstringCompare API URL
repository.contents_urlstringContents API URL
repository.contributors_urlstringContributors API URL
repository.deployments_urlstringDeployments API URL
repository.downloads_urlstringDownloads API URL
repository.events_urlstringEvents API URL
repository.forks_urlstringForks API URL
repository.git_commits_urlstringGit commits API URL
repository.git_refs_urlstringGit refs API URL
repository.git_tags_urlstringGit tags API URL
repository.hooks_urlstringHooks API URL
repository.issue_comment_urlstringIssue comment API URL
repository.issue_events_urlstringIssue events API URL
repository.issues_urlstringIssues API URL
repository.keys_urlstringKeys API URL
repository.labels_urlstringLabels API URL
repository.languages_urlstringLanguages API URL
repository.merges_urlstringMerges API URL
repository.milestones_urlstringMilestones API URL
repository.notifications_urlstringNotifications API URL
repository.pulls_urlstringPull requests API URL
repository.releases_urlstringReleases API URL
repository.stargazers_urlstringStargazers API URL
repository.statuses_urlstringStatuses API URL
repository.subscribers_urlstringSubscribers API URL
repository.subscription_urlstringSubscription API URL
repository.tags_urlstringTags API URL
repository.teams_urlstringTeams API URL
repository.trees_urlstringTrees API URL
repository.homepagestringRepository homepage URL
repository.sizenumberRepository size in KB
repository.stargazers_countnumberNumber of stars
repository.watchers_countnumberNumber of watchers
repository.languagestringPrimary programming language
repository.has_issuesbooleanWhether issues are enabled
repository.has_projectsbooleanWhether projects are enabled
repository.has_downloadsbooleanWhether downloads are enabled
repository.has_wikibooleanWhether wiki is enabled
repository.has_pagesbooleanWhether GitHub Pages is enabled
repository.forks_countnumberNumber of forks
repository.mirror_urlstringMirror URL if repository is a mirror
repository.archivedbooleanWhether the repository is archived
repository.disabledbooleanWhether the repository is disabled
repository.open_issues_countnumberNumber of open issues
repository.license.keystringLicense key
repository.license.namestringLicense name
repository.license.spdx_idstringSPDX license identifier
repository.license.urlstringLicense API URL
repository.license.node_idstringLicense node ID
repository.allow_forkingbooleanWhether forking is allowed
repository.is_templatebooleanWhether repository is a template
repository.topicsarrayArray of repository topics
repository.visibilitystringRepository visibility (public, private, internal)
repository.forksnumberNumber of forks
repository.open_issuesnumberNumber of open issues
repository.watchersnumberNumber of watchers
repository.default_branchstringDefault branch name
repository.created_atstringRepository creation timestamp
repository.updated_atstringRepository last update timestamp
repository.pushed_atstringRepository last push timestamp
repository.owner.loginstringOwner username
repository.owner.idnumberOwner ID
repository.owner.node_idstringOwner node ID
repository.owner.avatar_urlstringOwner avatar URL
repository.owner.gravatar_idstringOwner gravatar ID
repository.owner.urlstringOwner API URL
repository.owner.html_urlstringOwner profile URL
repository.owner.followers_urlstringFollowers API URL
repository.owner.following_urlstringFollowing API URL
repository.owner.gists_urlstringGists API URL
repository.owner.starred_urlstringStarred repositories API URL
repository.owner.subscriptions_urlstringSubscriptions API URL
repository.owner.organizations_urlstringOrganizations API URL
repository.owner.repos_urlstringRepositories API URL
repository.owner.events_urlstringEvents API URL
repository.owner.received_events_urlstringReceived events API URL
repository.owner.owner_typestringOwner type (User, Organization)
repository.owner.site_adminbooleanWhether owner is a site administrator
sender.loginstringUsername
sender.idnumberUser ID
sender.node_idstringUser node ID
sender.avatar_urlstringAvatar URL
sender.gravatar_idstringGravatar ID
sender.urlstringUser API URL
sender.html_urlstringProfile URL
sender.followers_urlstringFollowers API URL
sender.following_urlstringFollowing API URL
sender.gists_urlstringGists API URL
sender.starred_urlstringStarred repositories API URL
sender.subscriptions_urlstringSubscriptions API URL
sender.organizations_urlstringOrganizations API URL
sender.repos_urlstringRepositories API URL
sender.events_urlstringEvents API URL
sender.received_events_urlstringReceived events API URL
sender.user_typestringUser type (User, Bot, Organization)
sender.site_adminbooleanWhether user is a site administrator

github_workflow_run

Trigger workflow when a GitHub Actions workflow run is requested, in progress, or completed

Output

ParameterTypeDescription
actionstringAction performed (requested, in_progress, completed)
workflow_run.idnumberWorkflow run ID
workflow_run.node_idstringWorkflow run node ID
workflow_run.namestringWorkflow name
workflow_run.workflow_idnumberWorkflow ID
workflow_run.run_numbernumberRun number for this workflow
workflow_run.run_attemptnumberAttempt number for this run
workflow_run.eventstringEvent that triggered the workflow (push, pull_request, etc.)
workflow_run.statusstringCurrent status (queued, in_progress, completed)
workflow_run.conclusionstringConclusion (success, failure, cancelled, skipped, timed_out, action_required)
workflow_run.head_branchstringBranch name
workflow_run.head_shastringCommit SHA that triggered the workflow
workflow_run.pathstringPath to the workflow file
workflow_run.display_titlestringDisplay title for the run
workflow_run.run_started_atstringTimestamp when the run started
workflow_run.created_atstringWorkflow run creation timestamp
workflow_run.updated_atstringWorkflow run last update timestamp
workflow_run.html_urlstringWorkflow run HTML URL
workflow_run.check_suite_idnumberAssociated check suite ID
workflow_run.check_suite_node_idstringAssociated check suite node ID
workflow_run.urlstringWorkflow run API URL
workflow_run.actor.loginstringUsername
workflow_run.actor.idnumberUser ID
workflow_run.actor.node_idstringUser node ID
workflow_run.actor.avatar_urlstringAvatar URL
workflow_run.actor.html_urlstringProfile URL
workflow_run.actor.user_typestringUser type (User, Bot, Organization)
workflow_run.triggering_actor.loginstringUsername
workflow_run.triggering_actor.idnumberUser ID
workflow_run.triggering_actor.node_idstringUser node ID
workflow_run.triggering_actor.avatar_urlstringAvatar URL
workflow_run.triggering_actor.html_urlstringProfile URL
workflow_run.triggering_actor.user_typestringUser type (User, Bot, Organization)
workflow_run.repository.idnumberRepository ID
workflow_run.repository.node_idstringRepository node ID
workflow_run.repository.namestringRepository name
workflow_run.repository.full_namestringRepository full name
workflow_run.repository.privatebooleanWhether repository is private
workflow_run.head_repository.idnumberHead repository ID
workflow_run.head_repository.node_idstringHead repository node ID
workflow_run.head_repository.namestringHead repository name
workflow_run.head_repository.full_namestringHead repository full name
workflow_run.head_repository.privatebooleanWhether repository is private
workflow_run.head_commit.idstringCommit SHA
workflow_run.head_commit.tree_idstringTree ID
workflow_run.head_commit.messagestringCommit message
workflow_run.head_commit.timestampstringCommit timestamp
workflow_run.head_commit.author.namestringAuthor name
workflow_run.head_commit.author.emailstringAuthor email
workflow_run.head_commit.committer.namestringCommitter name
workflow_run.head_commit.committer.emailstringCommitter email
workflow_run.pull_requestsarrayArray of associated pull requests
workflow_run.referenced_workflowsarrayArray of referenced workflow runs
workflow.idnumberWorkflow ID
workflow.node_idstringWorkflow node ID
workflow.namestringWorkflow name
workflow.pathstringPath to workflow file
workflow.statestringWorkflow state (active, deleted, disabled_fork, etc.)
workflow.created_atstringWorkflow creation timestamp
workflow.updated_atstringWorkflow last update timestamp
workflow.urlstringWorkflow API URL
workflow.html_urlstringWorkflow HTML URL
workflow.badge_urlstringWorkflow badge URL
repository.idnumberRepository ID
repository.node_idstringRepository node ID
repository.namestringRepository name
repository.full_namestringRepository full name (owner/repo)
repository.privatebooleanWhether the repository is private
repository.html_urlstringRepository HTML URL
repository.repo_descriptionstringRepository description
repository.owner.loginstringOwner username
repository.owner.idnumberOwner ID
repository.owner.node_idstringOwner node ID
repository.owner.avatar_urlstringOwner avatar URL
repository.owner.html_urlstringOwner profile URL
repository.owner.owner_typestringOwner type (User, Organization)
sender.loginstringUsername
sender.idnumberUser ID
sender.node_idstringUser node ID
sender.avatar_urlstringAvatar URL
sender.html_urlstringProfile URL
sender.user_typestringUser type (User, Bot, Organization)

Notes

  • Category: tools
  • Type: github
On this page

On this page

Usage Instructions
Tools
github_pr
Input
Output
github_comment
Input
Output
github_repo_info
Input
Output
github_latest_commit
Input
Output
github_issue_comment
Input
Output
github_list_issue_comments
Input
Output
github_update_comment
Input
Output
github_delete_comment
Input
Output
github_list_pr_comments
Input
Output
github_create_pr
Input
Output
github_update_pr
Input
Output
github_merge_pr
Input
Output
github_list_prs
Input
Output
github_get_pr_files
Input
Output
github_close_pr
Input
Output
github_request_reviewers
Input
Output
github_get_file_content
Input
Output
github_create_file
Input
Output
github_update_file
Input
Output
github_delete_file
Input
Output
github_get_tree
Input
Output
github_list_branches
Input
Output
github_get_branch
Input
Output
github_create_branch
Input
Output
github_delete_branch
Input
Output
github_get_branch_protection
Input
Output
github_update_branch_protection
Input
Output
github_create_issue
Input
Output
github_update_issue
Input
Output
github_list_issues
Input
Output
github_get_issue
Input
Output
github_close_issue
Input
Output
github_add_labels
Input
Output
github_remove_label
Input
Output
github_add_assignees
Input
Output
github_create_release
Input
Output
github_update_release
Input
Output
github_list_releases
Input
Output
github_get_release
Input
Output
github_delete_release
Input
Output
github_list_workflows
Input
Output
github_get_workflow
Input
Output
github_trigger_workflow
Input
Output
github_list_workflow_runs
Input
Output
github_get_workflow_run
Input
Output
github_cancel_workflow_run
Input
Output
github_rerun_workflow
Input
Output
github_list_projects
Input
Output
github_get_project
Input
Output
github_create_project
Input
Output
github_update_project
Input
Output
github_delete_project
Input
Output
Triggers
github_issue_opened
Output
github_issue_closed
Output
github_issue_comment
Output
github_pr_opened
Output
github_pr_closed
Output
github_pr_merged
Output
github_pr_comment
Output
github_pr_reviewed
Output
github_push
Output
github_release_published
Output
github_workflow_run
Output
Notes
GitHub