ByteChef LogoByteChef

GitHub

GitHub is a web-based platform for version control and collaboration using Git.

Categories: Developer Tools

Type: github/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeDescriptionRequired
clientIdClient idSTRINGtrue
clientSecretClient secretSTRINGtrue

Connection Setup

  1. Login to your GitHub account.
  2. Click on your profile icon in the top right corner.
  3. Select Settings from the dropdown menu.
  4. In the left sidebar, click on Developer settings.
  5. In the left sidebar, click on OAuth Apps.
  6. Click on New OAuth App.
  7. Fill in the required fields:
    • Application name: Enter a name for your application (e.g., Test App).
    • Homepage URL: Provide the homepage URL for your application (e.g., https://www.bytechef.io/).
    • Authorization callback URL: Specify the URL where users will be redirected after authorization (e.g., http://127.0.0.1:5173/callback).
  8. Click Register application.
  9. Click on Generate a new client secret.
  10. Copy the Client ID and Client Secret for later use.

Actions

Add Assignees to Issue

Name: addAssigneesToIssue

Adds assignees to the specified issue.

Properties

NameLabelTypeDescriptionRequired
repositoryRepositorySTRINGtrue
issueIssue NumberSTRING
Depends On repository
The number of the issue to add assignee to.true
assigneesAssigneesARRAY
Items [STRING]
The list of assignees to add to the issue.true

Example JSON Structure

{
  "label" : "Add Assignees to Issue",
  "name" : "addAssigneesToIssue",
  "parameters" : {
    "repository" : "",
    "issue" : "",
    "assignees" : [ "" ]
  },
  "type" : "github/v1/addAssigneesToIssue"
}

Output

Type: OBJECT

Properties

NameTypeDescription
urlSTRINGThe URL linking directly to the issue on GitHub.
repository_urlSTRINGThe URL of the repository where the issue is located.
idNUMBERID of the issue.
numberINTEGERA unique number identifying the issue within its repository.
titleSTRINGThe title or headline of the issue.
stateSTRINGThe current state of the issue, such as open or closed.
assigneesARRAY
Items [{STRING(login), STRING(id), STRING(html_url), STRING(type)}]
A list of users assigned to the issue.
labelsARRAY
Items [{STRING(id), STRING(name), STRING(description)}]
A collection of labels associated with the issue.
bodySTRINGThe main content of the issue.

Output Example

{
  "url" : "",
  "repository_url" : "",
  "id" : 0.0,
  "number" : 1,
  "title" : "",
  "state" : "",
  "assignees" : [ {
    "login" : "",
    "id" : "",
    "html_url" : "",
    "type" : ""
  } ],
  "labels" : [ {
    "id" : "",
    "name" : "",
    "description" : ""
  } ],
  "body" : ""
}

Find repository name

To find the repository name, click here.

Find issue number

To find the issue number, click here.

Find assignee

To find the assignee, click here.

Add Labels to Issue

Name: addLabelsToIssue

Adds labels to the specified issue.

Properties

NameLabelTypeDescriptionRequired
repositoryRepositorySTRINGtrue
issueIssue NumberSTRING
Depends On repository
The number of the issue to add labels to.true
labelsLabelsARRAY
Items [STRING]
The list of labels to add to the issue.true

Example JSON Structure

{
  "label" : "Add Labels to Issue",
  "name" : "addLabelsToIssue",
  "parameters" : {
    "repository" : "",
    "issue" : "",
    "labels" : [ "" ]
  },
  "type" : "github/v1/addLabelsToIssue"
}

Output

Type: ARRAY

Items Type: OBJECT

Properties

NameTypeDescription
idSTRINGID of the label
nameSTRINGName of the label.
descriptionSTRINGDescription of the label.
colorSTRINGThe hexadecimal color code for the label, without the leading #.

Output Example

[ {
  "id" : "",
  "name" : "",
  "description" : "",
  "color" : ""
} ]

Find repository name

To find the repository name, click here.

Find issue number

To find the issue number, click here.

Find labels

To find the labels, click here.

Commit Files to New Branch

Name: commitFilesToNewBranch

Creates a branch from a base branch and commits a set of file changes to it in a single commit, ready for Create Pull Request.

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGRepository to commit to.true
baseBranchBase BranchSTRINGThe branch to start from. Defaults to the repository's default branch.false
newBranchNew BranchSTRINGThe name of the branch to create, for example docs/release-1.0.true
commitMessageCommit MessageSTRINGThe commit message.true
filesFilesARRAY
Items [{STRING(path), STRING(content), BOOLEAN(delete)}]
The files to add, change or delete.true
updateExistingBranchUpdate Existing BranchBOOLEAN
Options true, false
When the new branch already exists, add the commit on top of it instead of failing. The branch is only fast-forwarded, never force-updated.false

Example JSON Structure

{
  "label" : "Commit Files to New Branch",
  "name" : "commitFilesToNewBranch",
  "parameters" : {
    "owner" : "",
    "repository" : "",
    "baseBranch" : "",
    "newBranch" : "",
    "commitMessage" : "",
    "files" : [ {
      "path" : "",
      "content" : "",
      "delete" : false
    } ],
    "updateExistingBranch" : false
  },
  "type" : "github/v1/commitFilesToNewBranch"
}

Output

Type: OBJECT

Properties

NameTypeDescription
branchSTRINGThe branch the commit was written to.
commitShaSTRINGThe SHA of the new commit.
treeShaSTRINGThe SHA of the new commit's tree.
commitUrlSTRINGThe URL of the new commit on GitHub.

Output Example

{
  "branch" : "",
  "commitSha" : "",
  "treeSha" : "",
  "commitUrl" : ""
}

Create Comment on Issue

Name: createCommentOnIssue

Adds a comment to the specified issue.

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGRepository where the issue is located.true
issueIssue NumberSTRING
Depends On repository, owner
The number of the issue to comment on.true
bodyCommentSTRINGThe comment to add to the issue.true

Example JSON Structure

{
  "label" : "Create Comment on Issue",
  "name" : "createCommentOnIssue",
  "parameters" : {
    "owner" : "",
    "repository" : "",
    "issue" : "",
    "body" : ""
  },
  "type" : "github/v1/createCommentOnIssue"
}

Output

Type: OBJECT

Properties

NameTypeDescription
urlSTRINGThe URL linking directly to the issue on GitHub.
repository_urlSTRINGThe URL of the repository where the issue is located.
idNUMBERID of the issue.
numberINTEGERA unique number identifying the issue within its repository.
titleSTRINGThe title or headline of the issue.
stateSTRINGThe current state of the issue, such as open or closed.
assigneesARRAY
Items [{STRING(login), STRING(id), STRING(html_url), STRING(type)}]
A list of users assigned to the issue.
labelsARRAY
Items [{STRING(id), STRING(name), STRING(description)}]
A collection of labels associated with the issue.
bodySTRINGThe main content of the issue.

Output Example

{
  "url" : "",
  "repository_url" : "",
  "id" : 0.0,
  "number" : 1,
  "title" : "",
  "state" : "",
  "assignees" : [ {
    "login" : "",
    "id" : "",
    "html_url" : "",
    "type" : ""
  } ],
  "labels" : [ {
    "id" : "",
    "name" : "",
    "description" : ""
  } ],
  "body" : ""
}

Find user or organization

To find the user or organization, click here.

Find repository name

To find the repository name, click here.

Find issue number

To find the issue number, click here.

Create Fork

Name: createFork

Create a fork of Github repository.

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGRepository that will be forked.true
nameNameSTRINGA new name for the fork.false
organizationOrganizationSTRINGThe organization name if forking into an organization.false
defaultBranchOnlyDefault Branch OnlyBOOLEAN
Options true, false
When forking from an existing repository, fork with only the default branch.false

Example JSON Structure

{
  "label" : "Create Fork",
  "name" : "createFork",
  "parameters" : {
    "owner" : "",
    "repository" : "",
    "name" : "",
    "organization" : "",
    "defaultBranchOnly" : false
  },
  "type" : "github/v1/createFork"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGThe unique identifier of the fork.
node_idSTRINGThe node ID of the fork.
nameSTRINGThe name of the forked repository.
full_nameSTRINGThe full name of the forked repository including owner.
ownerOBJECT
Properties {STRING(login), STRING(id), STRING(node_id), STRING(url)}
Owner information.
privateBOOLEAN
Options true, false
Indicates if the forked repository is private.
html_urlSTRINGHTML URL of the forked repository.
urlSTRINGAPI URL of the forked repository.
descriptionSTRINGDescription of the repository.
forkSTRINGWhether this repository is a fork.
created_atSTRINGCreation timestamp.
updated_atSTRINGLast update timestamp.
pushed_atSTRINGLast push timestamp.
default_branchSTRINGDefault branch name.

Output Example

{
  "id" : "",
  "node_id" : "",
  "name" : "",
  "full_name" : "",
  "owner" : {
    "login" : "",
    "id" : "",
    "node_id" : "",
    "url" : ""
  },
  "private" : false,
  "html_url" : "",
  "url" : "",
  "description" : "",
  "fork" : "",
  "created_at" : "",
  "updated_at" : "",
  "pushed_at" : "",
  "default_branch" : ""
}

Find user or organization

To find the user or organization, click here.

Find repository name

To find the repository name, click here.

Create Issue

Name: createIssue

Create Issue in GitHub Repository

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGRepository where new issue will be created.true
titleTitleSTRINGTitle of the issue.false
bodyDescriptionSTRINGThe description of the issue.false

Example JSON Structure

{
  "label" : "Create Issue",
  "name" : "createIssue",
  "parameters" : {
    "owner" : "",
    "repository" : "",
    "title" : "",
    "body" : ""
  },
  "type" : "github/v1/createIssue"
}

Output

Type: OBJECT

Properties

NameTypeDescription
urlSTRINGThe URL linking directly to the issue on GitHub.
repository_urlSTRINGThe URL of the repository where the issue is located.
idNUMBERID of the issue.
numberINTEGERA unique number identifying the issue within its repository.
titleSTRINGThe title or headline of the issue.
stateSTRINGThe current state of the issue, such as open or closed.
assigneesARRAY
Items [{STRING(login), STRING(id), STRING(html_url), STRING(type)}]
A list of users assigned to the issue.
labelsARRAY
Items [{STRING(id), STRING(name), STRING(description)}]
A collection of labels associated with the issue.
bodySTRINGThe main content of the issue.

Output Example

{
  "url" : "",
  "repository_url" : "",
  "id" : 0.0,
  "number" : 1,
  "title" : "",
  "state" : "",
  "assignees" : [ {
    "login" : "",
    "id" : "",
    "html_url" : "",
    "type" : ""
  } ],
  "labels" : [ {
    "id" : "",
    "name" : "",
    "description" : ""
  } ],
  "body" : ""
}

Find user or organization

To find the user or organization, click here.

Find repository name

To find the repository name, click here.

Create Pull Request

Name: createPullRequest

Creates a new pull request.

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGRepository where new pull request will be created.true
titleTitleSTRINGTitle of the new pull request.false
bodyBodySTRINGThe contents of the pull request.false
headHeadSTRINGThe name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace head with a user like this: username:branch.true
head_repoHead RepoSTRINGThe name of the repository where the changes in the pull request were made. This field is required for cross-repository pull requests if both repositories are owned by the same organization.false
baseBaseSTRINGThe name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository.true
issueIssueINTEGERAn issue in the repository to convert to a pull request. The issue title, body, and comments will become the title, body, and comments on the new pull request. Required unless title is specified.false
draftDraftBOOLEAN
Options true, false
Indicates whether the pull request is a draft.true

Example JSON Structure

{
  "label" : "Create Pull Request",
  "name" : "createPullRequest",
  "parameters" : {
    "owner" : "",
    "repository" : "",
    "title" : "",
    "body" : "",
    "head" : "",
    "head_repo" : "",
    "base" : "",
    "issue" : 1,
    "draft" : false
  },
  "type" : "github/v1/createPullRequest"
}

Output

Type: OBJECT

Properties

NameTypeDescription
urlSTRINGThe URL of the created pull request.
idINTEGERID of the created pull request.
node_idSTRING
html_urlSTRING
diff_urlSTRING
patch_urlSTRING
issue_urlSTRING
commits_urlSTRING
review_comment_urlSTRING
comments_urlSTRING
statuses_urlSTRING
numberINTEGERNumber uniquely identifying the pull request within its repository.
stateSTRINGThe state of the pull request. Either open or closed.
lockedBOOLEAN
Options true, false
titleSTRINGThe title of the pull request.
userOBJECT
Properties {STRING(login), STRING(id), STRING(html_url), STRING(type)}
A GitHub user.
bodySTRINGThe contents of the pull request.
labelsARRAY
Items [{STRING(id), STRING(name), STRING(description)}]
commentsINTEGERThe number of comments on the pull request.
review_commentsINTEGERThe number of comments for review on the pull request.
maintainer_can_modifyBOOLEAN
Options true, false
Indicates whether maintainers can modify the pull request.
commitsINTEGERThe number of commits in the pull request.
additionsINTEGERThe number of additions in the pull request.
deletionsINTEGERThe number of deletions in the pull request.
changed_filesINTEGERThe number of changed files in the pull request.

Output Example

{
  "url" : "",
  "id" : 1,
  "node_id" : "",
  "html_url" : "",
  "diff_url" : "",
  "patch_url" : "",
  "issue_url" : "",
  "commits_url" : "",
  "review_comment_url" : "",
  "comments_url" : "",
  "statuses_url" : "",
  "number" : 1,
  "state" : "",
  "locked" : false,
  "title" : "",
  "user" : {
    "login" : "",
    "id" : "",
    "html_url" : "",
    "type" : ""
  },
  "body" : "",
  "labels" : [ {
    "id" : "",
    "name" : "",
    "description" : ""
  } ],
  "comments" : 1,
  "review_comments" : 1,
  "maintainer_can_modify" : false,
  "commits" : 1,
  "additions" : 1,
  "deletions" : 1,
  "changed_files" : 1
}

Find user or organization

To find the user or organization, click here.

Find repository name

To find the repository name, click here.

Create Release

Name: createRelease

Creates a release in a repository. The tag is created from the default branch if it does not exist.

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGRepository where the release will be created.true
tagNameTag NameSTRINGThe name of the tag for the release, for example v1.0.0.true
nameNameSTRINGThe title of the release.false
bodyBodySTRINGThe release notes. When Generate Release Notes is enabled, this text is prepended to the generated notes.false
draftDraftBOOLEAN
Options true, false
Whether to create an unpublished draft release.false
prereleasePrereleaseBOOLEAN
Options true, false
Whether to mark the release as a prerelease.false
generateReleaseNotesGenerate Release NotesBOOLEAN
Options true, false
Whether GitHub should generate the release name and notes from the merged pull requests since the previous release.false

Example JSON Structure

{
  "label" : "Create Release",
  "name" : "createRelease",
  "parameters" : {
    "owner" : "",
    "repository" : "",
    "tagName" : "",
    "name" : "",
    "body" : "",
    "draft" : false,
    "prerelease" : false,
    "generateReleaseNotes" : false
  },
  "type" : "github/v1/createRelease"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idNUMBERID of the release.
tag_nameSTRINGThe name of the tag.
target_commitishSTRINGThe branch or commit SHA the tag was created from.
nameSTRINGThe name of the release.
bodySTRINGThe release notes.
draftBOOLEAN
Options true, false
Whether the release is a draft.
prereleaseBOOLEAN
Options true, false
Whether the release is a prerelease.
created_atSTRINGWhen the release was created.
published_atSTRINGWhen the release was published.
html_urlSTRINGThe URL of the release on GitHub.
tarball_urlSTRING
zipball_urlSTRING
authorOBJECT
Properties {STRING(login), NUMBER(id), STRING(html_url)}
The user who created the release.
assetsARRAY
Items [{NUMBER(id), STRING(name), STRING(label), STRING(content_type), INTEGER(size), INTEGER(download_count), STRING(browser_download_url)}]
Files attached to the release.

Output Example

{
  "id" : 0.0,
  "tag_name" : "",
  "target_commitish" : "",
  "name" : "",
  "body" : "",
  "draft" : false,
  "prerelease" : false,
  "created_at" : "",
  "published_at" : "",
  "html_url" : "",
  "tarball_url" : "",
  "zipball_url" : "",
  "author" : {
    "login" : "",
    "id" : 0.0,
    "html_url" : ""
  },
  "assets" : [ {
    "id" : 0.0,
    "name" : "",
    "label" : "",
    "content_type" : "",
    "size" : 1,
    "download_count" : 1,
    "browser_download_url" : ""
  } ]
}

Get Issue

Name: getIssue

Get information from a specific issue

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGRepository where the issue is located.true
issueIssue NumberSTRING
Depends On repository, owner
The number of the issue you want to get details from.true

Example JSON Structure

{
  "label" : "Get Issue",
  "name" : "getIssue",
  "parameters" : {
    "owner" : "",
    "repository" : "",
    "issue" : ""
  },
  "type" : "github/v1/getIssue"
}

Output

Type: OBJECT

Properties

NameTypeDescription
urlSTRINGThe URL linking directly to the issue on GitHub.
repository_urlSTRINGThe URL of the repository where the issue is located.
idNUMBERID of the issue.
numberINTEGERA unique number identifying the issue within its repository.
titleSTRINGThe title or headline of the issue.
stateSTRINGThe current state of the issue, such as open or closed.
assigneesARRAY
Items [{STRING(login), STRING(id), STRING(html_url), STRING(type)}]
A list of users assigned to the issue.
labelsARRAY
Items [{STRING(id), STRING(name), STRING(description)}]
A collection of labels associated with the issue.
bodySTRINGThe main content of the issue.

Output Example

{
  "url" : "",
  "repository_url" : "",
  "id" : 0.0,
  "number" : 1,
  "title" : "",
  "state" : "",
  "assignees" : [ {
    "login" : "",
    "id" : "",
    "html_url" : "",
    "type" : ""
  } ],
  "labels" : [ {
    "id" : "",
    "name" : "",
    "description" : ""
  } ],
  "body" : ""
}

Find user or organization

To find the user or organization, click here.

Find repository name

To find the repository name, click here.

Find issue number

To find the issue number, click here.

Get Pull Request

Name: getPullRequest

Gets a pull request by its number, including its requested reviewers.

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGRepository the pull request belongs to.true
pullNumberPull Request NumberINTEGERThe number that identifies the pull request within the repository.true

Example JSON Structure

{
  "label" : "Get Pull Request",
  "name" : "getPullRequest",
  "parameters" : {
    "owner" : "",
    "repository" : "",
    "pullNumber" : 1
  },
  "type" : "github/v1/getPullRequest"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idNUMBERID of the pull request.
numberINTEGERNumber uniquely identifying the pull request within its repository.
urlSTRINGThe API URL of the pull request.
html_urlSTRINGThe URL of the pull request on GitHub.
diff_urlSTRINGThe URL of the pull request diff.
stateSTRINGThe state of the pull request. Either open or closed.
lockedBOOLEAN
Options true, false
Whether the pull request conversation is locked.
titleSTRINGThe title of the pull request.
bodySTRINGThe contents of the pull request.
userOBJECT
Properties {STRING(login), NUMBER(id), STRING(html_url), STRING(type)}
The user who opened the pull request.
labelsARRAY
Items [{NUMBER(id), STRING(name), STRING(description)}]
Labels associated with the pull request.
assigneesARRAY
Items [{STRING(login), NUMBER(id), STRING(html_url)}]
Users assigned to the pull request.
requested_reviewersARRAY
Items [{STRING(login), NUMBER(id), STRING(html_url)}]
Users whose review is requested on the pull request.
requested_teamsARRAY
Items [{NUMBER(id), STRING(name), STRING(slug)}]
Teams whose review is requested on the pull request.
headOBJECT
Properties {STRING(label), STRING(ref), STRING(sha)}
The branch where the changes are implemented.
baseOBJECT
Properties {STRING(label), STRING(ref), STRING(sha)}
The branch the changes are pulled into.
draftBOOLEAN
Options true, false
Whether the pull request is a draft.
mergedBOOLEAN
Options true, false
Whether the pull request has been merged.
mergeable_stateSTRINGThe mergeable state of the pull request.
merge_commit_shaSTRINGThe SHA of the merge commit.
created_atSTRINGWhen the pull request was created.
updated_atSTRINGWhen the pull request was last updated.
closed_atSTRINGWhen the pull request was closed.
merged_atSTRINGWhen the pull request was merged.
commentsINTEGERThe number of comments on the pull request.
review_commentsINTEGERThe number of review comments on the pull request.
commitsINTEGERThe number of commits in the pull request.
additionsINTEGERThe number of additions in the pull request.
deletionsINTEGERThe number of deletions in the pull request.
changed_filesINTEGERThe number of changed files in the pull request.

Output Example

{
  "id" : 0.0,
  "number" : 1,
  "url" : "",
  "html_url" : "",
  "diff_url" : "",
  "state" : "",
  "locked" : false,
  "title" : "",
  "body" : "",
  "user" : {
    "login" : "",
    "id" : 0.0,
    "html_url" : "",
    "type" : ""
  },
  "labels" : [ {
    "id" : 0.0,
    "name" : "",
    "description" : ""
  } ],
  "assignees" : [ {
    "login" : "",
    "id" : 0.0,
    "html_url" : ""
  } ],
  "requested_reviewers" : [ {
    "login" : "",
    "id" : 0.0,
    "html_url" : ""
  } ],
  "requested_teams" : [ {
    "id" : 0.0,
    "name" : "",
    "slug" : ""
  } ],
  "head" : {
    "label" : "",
    "ref" : "",
    "sha" : ""
  },
  "base" : {
    "label" : "",
    "ref" : "",
    "sha" : ""
  },
  "draft" : false,
  "merged" : false,
  "mergeable_state" : "",
  "merge_commit_sha" : "",
  "created_at" : "",
  "updated_at" : "",
  "closed_at" : "",
  "merged_at" : "",
  "comments" : 1,
  "review_comments" : 1,
  "commits" : 1,
  "additions" : 1,
  "deletions" : 1,
  "changed_files" : 1
}

Get Release by Tag

Name: getReleaseByTag

Gets a published release by its tag name.

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGRepository the release belongs to.true
tagTagSTRINGThe tag name of the release, for example v1.0.0.true

Example JSON Structure

{
  "label" : "Get Release by Tag",
  "name" : "getReleaseByTag",
  "parameters" : {
    "owner" : "",
    "repository" : "",
    "tag" : ""
  },
  "type" : "github/v1/getReleaseByTag"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idNUMBERID of the release.
tag_nameSTRINGThe name of the tag.
target_commitishSTRINGThe branch or commit SHA the tag was created from.
nameSTRINGThe name of the release.
bodySTRINGThe release notes.
draftBOOLEAN
Options true, false
Whether the release is a draft.
prereleaseBOOLEAN
Options true, false
Whether the release is a prerelease.
created_atSTRINGWhen the release was created.
published_atSTRINGWhen the release was published.
html_urlSTRINGThe URL of the release on GitHub.
tarball_urlSTRING
zipball_urlSTRING
authorOBJECT
Properties {STRING(login), NUMBER(id), STRING(html_url)}
The user who created the release.
assetsARRAY
Items [{NUMBER(id), STRING(name), STRING(label), STRING(content_type), INTEGER(size), INTEGER(download_count), STRING(browser_download_url)}]
Files attached to the release.

Output Example

{
  "id" : 0.0,
  "tag_name" : "",
  "target_commitish" : "",
  "name" : "",
  "body" : "",
  "draft" : false,
  "prerelease" : false,
  "created_at" : "",
  "published_at" : "",
  "html_url" : "",
  "tarball_url" : "",
  "zipball_url" : "",
  "author" : {
    "login" : "",
    "id" : 0.0,
    "html_url" : ""
  },
  "assets" : [ {
    "id" : 0.0,
    "name" : "",
    "label" : "",
    "content_type" : "",
    "size" : 1,
    "download_count" : 1,
    "browser_download_url" : ""
  } ]
}

Get Repository Content

Name: getRepositoryContent

Gets the contents of a file or directory in a repository. With the Text output format a directory returns its entry names, one per line, and a file returns its content as a string. With the Structured output format a directory returns a list of entries and a file returns an object with its metadata and decoded content.

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGRepository where the content is located.true
pathPathSTRINGPath to the file or the directory.true
refRefSTRINGThe branch, tag or commit SHA to read from. Defaults to the repository's default branch.false
outputFormatOutput FormatSTRING
Options TEXT, STRUCTURED
Text returns a single string. Structured returns the entries of a directory, or the metadata and decoded content of a file.false

Example JSON Structure

{
  "label" : "Get Repository Content",
  "name" : "getRepositoryContent",
  "parameters" : {
    "owner" : "",
    "repository" : "",
    "path" : "",
    "ref" : "",
    "outputFormat" : ""
  },
  "type" : "github/v1/getRepositoryContent"
}

Output

The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.

Find user or organization

To find the user or organization, click here.

Find repository name

To find the repository name, click here.

Find path

To find the path, click here.

List Issues

Name: listIssues

Retrieve issues assigned to the authenticated user across all accessible repositories.

Properties

NameLabelTypeDescriptionRequired
filterFilterSTRING
Options assigned, created, mentioned, subscribed, repos, all
Specifies the types of issues to return.true
stateStateSTRING
Options open, closed, all
Indicates the state of the issues to return.true

Example JSON Structure

{
  "label" : "List Issues",
  "name" : "listIssues",
  "parameters" : {
    "filter" : "",
    "state" : ""
  },
  "type" : "github/v1/listIssues"
}

Output

Type: ARRAY

Items Type: OBJECT

Properties

NameTypeDescription
urlSTRINGThe URL linking directly to the issue on GitHub.
repository_urlSTRINGThe URL of the repository where the issue is located.
idNUMBERID of the issue.
numberINTEGERA unique number identifying the issue within its repository.
titleSTRINGThe title or headline of the issue.
stateSTRINGThe current state of the issue, such as open or closed.
assigneesARRAY
Items [{STRING(login), STRING(id), STRING(html_url), STRING(type)}]
A list of users assigned to the issue.
labelsARRAY
Items [{STRING(id), STRING(name), STRING(description)}]
A collection of labels associated with the issue.
bodySTRINGThe main content of the issue.

Output Example

[ {
  "url" : "",
  "repository_url" : "",
  "id" : 0.0,
  "number" : 1,
  "title" : "",
  "state" : "",
  "assignees" : [ {
    "login" : "",
    "id" : "",
    "html_url" : "",
    "type" : ""
  } ],
  "labels" : [ {
    "id" : "",
    "name" : "",
    "description" : ""
  } ],
  "body" : ""
} ]

List Pull Request Reviews

Name: listPullRequestReviews

Lists the reviews of a pull request in chronological order.

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGRepository the pull request belongs to.true
pullNumberPull Request NumberINTEGERThe number that identifies the pull request within the repository.true

Example JSON Structure

{
  "label" : "List Pull Request Reviews",
  "name" : "listPullRequestReviews",
  "parameters" : {
    "owner" : "",
    "repository" : "",
    "pullNumber" : 1
  },
  "type" : "github/v1/listPullRequestReviews"
}

Output

Type: ARRAY

Items Type: OBJECT

Properties

NameTypeDescription
idNUMBERID of the review.
userOBJECT
Properties {STRING(login), NUMBER(id), STRING(html_url)}
The user who submitted the review.
bodySTRINGThe body text of the review.
stateSTRINGThe state of the review, such as APPROVED, CHANGES_REQUESTED, COMMENTED, DISMISSED or PENDING.
submitted_atSTRINGWhen the review was submitted.
commit_idSTRINGThe SHA of the commit the review was made on.
author_associationSTRINGHow the reviewer is associated with the repository.
html_urlSTRINGThe URL of the review on GitHub.

Output Example

[ {
  "id" : 0.0,
  "user" : {
    "login" : "",
    "id" : 0.0,
    "html_url" : ""
  },
  "body" : "",
  "state" : "",
  "submitted_at" : "",
  "commit_id" : "",
  "author_association" : "",
  "html_url" : ""
} ]

List Pull Requests

Name: listPullRequests

Lists pull requests in a repository, optionally filtered by state and base branch.

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGRepository whose pull requests are listed.true
stateStateSTRING
Options open, closed, all
Filters pull requests by state.false
baseBaseSTRINGFilters pull requests by the name of the branch they are merged into, for example main.false
sortSortSTRING
Options created, updated, popularity, long-running
What to sort results by. Popularity sorts by the number of comments. Long-running sorts by creation date and only includes pull requests open for more than a month with activity in the past month.false
directionDirectionSTRING
Options asc, desc
The direction of the sort. Defaults to descending when sorting by created date or when no sort is given, otherwise ascending.false

Example JSON Structure

{
  "label" : "List Pull Requests",
  "name" : "listPullRequests",
  "parameters" : {
    "owner" : "",
    "repository" : "",
    "state" : "",
    "base" : "",
    "sort" : "",
    "direction" : ""
  },
  "type" : "github/v1/listPullRequests"
}

Output

Type: ARRAY

Items Type: OBJECT

Properties

NameTypeDescription
idNUMBERID of the pull request.
numberINTEGERNumber uniquely identifying the pull request within its repository.
urlSTRINGThe API URL of the pull request.
html_urlSTRINGThe URL of the pull request on GitHub.
diff_urlSTRINGThe URL of the pull request diff.
stateSTRINGThe state of the pull request. Either open or closed.
lockedBOOLEAN
Options true, false
Whether the pull request conversation is locked.
titleSTRINGThe title of the pull request.
bodySTRINGThe contents of the pull request.
userOBJECT
Properties {STRING(login), NUMBER(id), STRING(html_url), STRING(type)}
The user who opened the pull request.
labelsARRAY
Items [{NUMBER(id), STRING(name), STRING(description)}]
Labels associated with the pull request.
assigneesARRAY
Items [{STRING(login), NUMBER(id), STRING(html_url)}]
Users assigned to the pull request.
requested_reviewersARRAY
Items [{STRING(login), NUMBER(id), STRING(html_url)}]
Users whose review is requested on the pull request.
requested_teamsARRAY
Items [{NUMBER(id), STRING(name), STRING(slug)}]
Teams whose review is requested on the pull request.
headOBJECT
Properties {STRING(label), STRING(ref), STRING(sha)}
The branch where the changes are implemented.
baseOBJECT
Properties {STRING(label), STRING(ref), STRING(sha)}
The branch the changes are pulled into.
draftBOOLEAN
Options true, false
Whether the pull request is a draft.
mergedBOOLEAN
Options true, false
Whether the pull request has been merged.
mergeable_stateSTRINGThe mergeable state of the pull request.
merge_commit_shaSTRINGThe SHA of the merge commit.
created_atSTRINGWhen the pull request was created.
updated_atSTRINGWhen the pull request was last updated.
closed_atSTRINGWhen the pull request was closed.
merged_atSTRINGWhen the pull request was merged.
commentsINTEGERThe number of comments on the pull request.
review_commentsINTEGERThe number of review comments on the pull request.
commitsINTEGERThe number of commits in the pull request.
additionsINTEGERThe number of additions in the pull request.
deletionsINTEGERThe number of deletions in the pull request.
changed_filesINTEGERThe number of changed files in the pull request.

Output Example

[ {
  "id" : 0.0,
  "number" : 1,
  "url" : "",
  "html_url" : "",
  "diff_url" : "",
  "state" : "",
  "locked" : false,
  "title" : "",
  "body" : "",
  "user" : {
    "login" : "",
    "id" : 0.0,
    "html_url" : "",
    "type" : ""
  },
  "labels" : [ {
    "id" : 0.0,
    "name" : "",
    "description" : ""
  } ],
  "assignees" : [ {
    "login" : "",
    "id" : 0.0,
    "html_url" : ""
  } ],
  "requested_reviewers" : [ {
    "login" : "",
    "id" : 0.0,
    "html_url" : ""
  } ],
  "requested_teams" : [ {
    "id" : 0.0,
    "name" : "",
    "slug" : ""
  } ],
  "head" : {
    "label" : "",
    "ref" : "",
    "sha" : ""
  },
  "base" : {
    "label" : "",
    "ref" : "",
    "sha" : ""
  },
  "draft" : false,
  "merged" : false,
  "mergeable_state" : "",
  "merge_commit_sha" : "",
  "created_at" : "",
  "updated_at" : "",
  "closed_at" : "",
  "merged_at" : "",
  "comments" : 1,
  "review_comments" : 1,
  "commits" : 1,
  "additions" : 1,
  "deletions" : 1,
  "changed_files" : 1
} ]

List Repository Issues

Name: listRepositoryIssues

Lists issues in a repository. Only open issues will be listed.

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGThe name of the repositorytrue

Example JSON Structure

{
  "label" : "List Repository Issues",
  "name" : "listRepositoryIssues",
  "parameters" : {
    "owner" : "",
    "repository" : ""
  },
  "type" : "github/v1/listRepositoryIssues"
}

Output

Type: ARRAY

Items Type: OBJECT

Properties

NameTypeDescription
urlSTRINGThe URL linking directly to the issue on GitHub.
repository_urlSTRINGThe URL of the repository where the issue is located.
idNUMBERID of the issue.
numberINTEGERA unique number identifying the issue within its repository.
titleSTRINGThe title or headline of the issue.
stateSTRINGThe current state of the issue, such as open or closed.
assigneesARRAY
Items [{STRING(login), STRING(id), STRING(html_url), STRING(type)}]
A list of users assigned to the issue.
labelsARRAY
Items [{STRING(id), STRING(name), STRING(description)}]
A collection of labels associated with the issue.
bodySTRINGThe main content of the issue.

Output Example

[ {
  "url" : "",
  "repository_url" : "",
  "id" : 0.0,
  "number" : 1,
  "title" : "",
  "state" : "",
  "assignees" : [ {
    "login" : "",
    "id" : "",
    "html_url" : "",
    "type" : ""
  } ],
  "labels" : [ {
    "id" : "",
    "name" : "",
    "description" : ""
  } ],
  "body" : ""
} ]

Find user or organization

To find the user or organization, click here.

Find repository name

To find the repository name, click here.

Search Code

Name: searchCode

Searches the code in repository and returns up to 100 results per page.

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGThe repository in which to search for matching code.true
queryQuerySTRINGQuery of the code in the repository.true
extensionExtensionSTRINGMatches code files with a certain file extension.false
filenameFilenameSTRINGMatches code files with a certain filename.false
pathPathSTRINGSearches for source code that appears at a specific location in a repository.false
inInSTRING
Options file, path, file,path
Restricts your search to the contents of the source code file, the file path, or both.false
pagePageINTEGERThe page number of the results to fetch.false
per_pagePer pageINTEGERThe number of results per page (max 100).false

Example JSON Structure

{
  "label" : "Search Code",
  "name" : "searchCode",
  "parameters" : {
    "owner" : "",
    "repository" : "",
    "query" : "",
    "extension" : "",
    "filename" : "",
    "path" : "",
    "in" : "",
    "page" : 1,
    "per_page" : 1
  },
  "type" : "github/v1/searchCode"
}

Output

Type: OBJECT

Properties

NameTypeDescription
total_countINTEGERTotal number of matching results.
incomplete_resultsBOOLEAN
Options true, false
Whether the results are incomplete.
itemsARRAY
Items [{STRING(name), STRING(path), STRING(sha), STRING(url), STRING(git_url), STRING(html_url), NUMBER(score), {INTEGER(id), STRING(name), STRING(full_name), STRING(html_url), STRING(url)}(repository)}]
List of code search results.

Output Example

{
  "total_count" : 1,
  "incomplete_results" : false,
  "items" : [ {
    "name" : "",
    "path" : "",
    "sha" : "",
    "url" : "",
    "git_url" : "",
    "html_url" : "",
    "score" : 0.0,
    "repository" : {
      "id" : 1,
      "name" : "",
      "full_name" : "",
      "html_url" : "",
      "url" : ""
    }
  } ]
}

Find user or organization

To find the user or organization, click here.

Find repository name

To find the repository name, click here.

Find path

To find the path, click here.

Search Issues and Pull Requests

Name: searchIssuesAndPullRequests

Searches issues and pull requests across GitHub using GitHub search syntax and returns up to 100 results per page.

Properties

NameLabelTypeDescriptionRequired
queryQuerySTRINGThe search keywords and qualifiers, for example 'repo:bytechefhq/bytechef is:pr is:open review:required'. Use is:issue or is:pr to limit results to issues or pull requests.true
sortSortSTRING
Options comments, reactions, interactions, created, updated
What to sort results by. Results are sorted by best match when not set.false
orderOrderSTRING
Options desc, asc
The order of the results. Only used when Sort is set.false
pagePageINTEGERThe page number of the results to fetch.false
per_pagePer PageINTEGERThe number of results per page (max 100).false

Example JSON Structure

{
  "label" : "Search Issues and Pull Requests",
  "name" : "searchIssuesAndPullRequests",
  "parameters" : {
    "query" : "",
    "sort" : "",
    "order" : "",
    "page" : 1,
    "per_page" : 1
  },
  "type" : "github/v1/searchIssuesAndPullRequests"
}

Output

Type: OBJECT

Properties

NameTypeDescription
total_countINTEGERTotal number of matching results.
incomplete_resultsBOOLEAN
Options true, false
Whether the results are incomplete.
itemsARRAY
Items [{NUMBER(id), INTEGER(number), STRING(title), STRING(state), STRING(body), STRING(html_url), STRING(repository_url), {STRING(login), NUMBER(id), STRING(html_url)}(user), [{NUMBER(id), STRING(name)}](labels), {STRING(url), STRING(html_url), STRING(merged_at)}(pull_request), INTEGER(comments), STRING(created_at), STRING(updated_at), STRING(closed_at), NUMBER(score)}]
Issues and pull requests that match the query.

Output Example

{
  "total_count" : 1,
  "incomplete_results" : false,
  "items" : [ {
    "id" : 0.0,
    "number" : 1,
    "title" : "",
    "state" : "",
    "body" : "",
    "html_url" : "",
    "repository_url" : "",
    "user" : {
      "login" : "",
      "id" : 0.0,
      "html_url" : ""
    },
    "labels" : [ {
      "id" : 0.0,
      "name" : ""
    } ],
    "pull_request" : {
      "url" : "",
      "html_url" : "",
      "merged_at" : ""
    },
    "comments" : 1,
    "created_at" : "",
    "updated_at" : "",
    "closed_at" : "",
    "score" : 0.0
  } ]
}

Star Repository

Name: starRepository

Stars a repository for the authenticated user.

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGThe name of the repository including owner without the .git extension. The name is not case sensitive.true

Example JSON Structure

{
  "label" : "Star Repository",
  "name" : "starRepository",
  "parameters" : {
    "owner" : "",
    "repository" : ""
  },
  "type" : "github/v1/starRepository"
}

Output

This action does not produce any output.

Find user or organization

To find the user or organization, click here.

Find repository name

To find the repository name, click here.

Trigger Workflow Dispatch

Name: triggerWorkflowDispatch

Starts a GitHub Actions workflow that has a workflow_dispatch trigger. With a classic OAuth token the connection needs the repo scope; a fine-grained token needs the Actions: write permission.

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGRepository that contains the workflow.true
workflowWorkflowSTRING
Depends On repository, owner
The workflow file name, for example build.yml, or the workflow ID.true
refRefSTRINGThe branch or tag to run the workflow on. Defaults to the repository's default branch.false
inputsInputsOBJECT
Properties {}
Values for the workflow's workflow_dispatch inputs, keyed by input name. GitHub accepts at most 25 inputs.false

Example JSON Structure

{
  "label" : "Trigger Workflow Dispatch",
  "name" : "triggerWorkflowDispatch",
  "parameters" : {
    "owner" : "",
    "repository" : "",
    "workflow" : "",
    "ref" : "",
    "inputs" : { }
  },
  "type" : "github/v1/triggerWorkflowDispatch"
}

Output

Type: OBJECT

Properties

NameTypeDescription
workflowSTRINGThe workflow that was dispatched.
refSTRINGThe branch or tag the workflow runs on.
dispatchedBOOLEAN
Options true, false
True when GitHub accepted the dispatch.

Output Example

{
  "workflow" : "",
  "ref" : "",
  "dispatched" : false
}

Update Issue

Name: updateIssue

Update the details of an existing issue within a specified repository.

Properties

NameLabelTypeDescriptionRequired
ownerUser/OrganizationSTRINGThe owner of the repository (user or organization).true
repositoryRepositorySTRINGThe repository where issue is located.true
issueIssue NumberSTRING
Depends On repository, owner
The number of the issue you want to update.true
titleTitleSTRINGThe new title of the issue.false
bodyBodySTRINGThe updated description of the issue.false
stateStateSTRING
Options open, closed
The new state of the issue (open/closed).false
milestoneMilestoneSTRINGThe number of the milestone to associate this issue with or use null to remove the current milestone.false
labelsLabelsARRAY
Items [STRING]
A list of labels to associate with this issue.false
assigneesAssigneesARRAY
Items [STRING]
A list of usernames to assign this issue.false

Example JSON Structure

{
  "label" : "Update Issue",
  "name" : "updateIssue",
  "parameters" : {
    "owner" : "",
    "repository" : "",
    "issue" : "",
    "title" : "",
    "body" : "",
    "state" : "",
    "milestone" : "",
    "labels" : [ "" ],
    "assignees" : [ "" ]
  },
  "type" : "github/v1/updateIssue"
}

Output

Type: OBJECT

Properties

NameTypeDescription
urlSTRINGThe URL linking directly to the issue on GitHub.
repository_urlSTRINGThe URL of the repository where the issue is located.
idNUMBERID of the issue.
numberINTEGERA unique number identifying the issue within its repository.
titleSTRINGThe title or headline of the issue.
stateSTRINGThe current state of the issue, such as open or closed.
assigneesARRAY
Items [{STRING(login), STRING(id), STRING(html_url), STRING(type)}]
A list of users assigned to the issue.
labelsARRAY
Items [{STRING(id), STRING(name), STRING(description)}]
A collection of labels associated with the issue.
bodySTRINGThe main content of the issue.

Output Example

{
  "url" : "",
  "repository_url" : "",
  "id" : 0.0,
  "number" : 1,
  "title" : "",
  "state" : "",
  "assignees" : [ {
    "login" : "",
    "id" : "",
    "html_url" : "",
    "type" : ""
  } ],
  "labels" : [ {
    "id" : "",
    "name" : "",
    "description" : ""
  } ],
  "body" : ""
}

Find milestone number

To find the milestone number, click here.

Triggers

Events Trigger

Name: eventsTrigger

Triggers on specified events.

Type: DYNAMIC_WEBHOOK

Properties

NameLabelTypeDescriptionRequired
repositoryRepositorySTRINGtrue
eventsEventsARRAY
Items [STRING]
Determines what events the hook is triggered for.true

Output

The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.

JSON Example

{
  "label" : "Events Trigger",
  "name" : "eventsTrigger",
  "parameters" : {
    "repository" : "",
    "events" : [ "" ]
  },
  "type" : "github/v1/eventsTrigger"
}

New Issue

Name: newIssue

Triggers when a new issue is created.

Type: POLLING

Properties

NameLabelTypeDescriptionRequired
repositoryRepositorySTRINGtrue

Output

Type: OBJECT

Properties

NameTypeDescription
urlSTRINGThe URL linking directly to the issue on GitHub.
repository_urlSTRINGThe URL of the repository where the issue is located.
idNUMBERID of the issue.
numberINTEGERA unique number identifying the issue within its repository.
titleSTRINGThe title or headline of the issue.
stateSTRINGThe current state of the issue, such as open or closed.
assigneesARRAY
Items [{STRING(login), STRING(id), STRING(html_url), STRING(type)}]
A list of users assigned to the issue.
labelsARRAY
Items [{STRING(id), STRING(name), STRING(description)}]
A collection of labels associated with the issue.
bodySTRINGThe main content of the issue.

JSON Example

{
  "label" : "New Issue",
  "name" : "newIssue",
  "parameters" : {
    "repository" : ""
  },
  "type" : "github/v1/newIssue"
}

New Pull Request

Name: newPullRequest

Triggers when a new pull request is created.

Type: POLLING

Properties

NameLabelTypeDescriptionRequired
repositoryRepositorySTRINGtrue

Output

The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.

JSON Example

{
  "label" : "New Pull Request",
  "name" : "newPullRequest",
  "parameters" : {
    "repository" : ""
  },
  "type" : "github/v1/newPullRequest"
}

What to do if your action is not listed here?

If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.

To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.


Additional Instructions

How to find your repository name

  1. Go to your repository on GitHub.

  2. Look at the URL in your browser. It will look similar to:

    https://github.com/owner/repository

    • owner → GitHub username or organization name
    • repository → repository name

How to find your issue number

  1. Go to the Issues tab of your repository.

  2. Click on the issue you want.

  3. Look at the URL in your browser. It will look similar to:

    https://github.com/owner/repository/issues/45

    The number at the end of the URL (45 in this example) is your issue number.

How to find your assignee

  1. Open the issue.
  2. On the right sidebar, locate the Assignees section.
  3. The listed GitHub username(s) are the assignee(s).

How to find labels

  1. Open the issue.
  2. On the right sidebar, locate the Labels section.
  3. The labels listed there are the labels assigned to the issue.
    • You can click Labels to view all available labels in the repository.
    • Each label may have a color and a name (e.g., bug, enhancement, documentation).

How to find user or organization

  1. Go to your repository on GitHub.

  2. Look at the URL in your browser. It will look similar to:

    https://github.com/owner/repository

    • owner → GitHub username or organization name

How to find file path

  1. Navigate to the repository on GitHub.

  2. Browse the folders to the file you want.

  3. Look at the URL in your browser. It will have this format:

    https://github.com/owner/repository/blob/main/path/to/file.ext

    • The part after blob/main/ is the file path:

    path/to/file.ext

How to find your milestone number

You have several methods to find your GitHub milestone number:

  • Method 1: Through the Milestones page URL
  1. Go to your repository on GitHub.

  2. Click on the Issues tab.

  3. Click on Milestones.

  4. Click on the milestone you want.

  5. Look at the URL in your browser. It will look similar to:

    https://github.com/owner/repository/milestone/3

    The number at the end of the URL (3 in this example) is your milestone number.

  • Method 2: Through the GitHub API
  1. Open your browser.

  2. Enter the following URL (replace owner and repository with your actual values):

    https://api.github.com/repos/owner/repository/milestones

  3. Find your milestone in the JSON response.

  4. The number field next to the milestone name is your milestone number.

How is this guide?

Last updated on

On this page

ConnectionsOAuth2 Authorization CodePropertiesConnection SetupActionsAdd Assignees to IssuePropertiesExample JSON StructureOutputPropertiesOutput ExampleFind repository nameFind issue numberFind assigneeAdd Labels to IssuePropertiesExample JSON StructureOutputPropertiesOutput ExampleFind repository nameFind issue numberFind labelsCommit Files to New BranchPropertiesExample JSON StructureOutputPropertiesOutput ExampleCreate Comment on IssuePropertiesExample JSON StructureOutputPropertiesOutput ExampleFind user or organizationFind repository nameFind issue numberCreate ForkPropertiesExample JSON StructureOutputPropertiesOutput ExampleFind user or organizationFind repository nameCreate IssuePropertiesExample JSON StructureOutputPropertiesOutput ExampleFind user or organizationFind repository nameCreate Pull RequestPropertiesExample JSON StructureOutputPropertiesOutput ExampleFind user or organizationFind repository nameCreate ReleasePropertiesExample JSON StructureOutputPropertiesOutput ExampleGet IssuePropertiesExample JSON StructureOutputPropertiesOutput ExampleFind user or organizationFind repository nameFind issue numberGet Pull RequestPropertiesExample JSON StructureOutputPropertiesOutput ExampleGet Release by TagPropertiesExample JSON StructureOutputPropertiesOutput ExampleGet Repository ContentPropertiesExample JSON StructureOutputFind user or organizationFind repository nameFind pathList IssuesPropertiesExample JSON StructureOutputPropertiesOutput ExampleList Pull Request ReviewsPropertiesExample JSON StructureOutputPropertiesOutput ExampleList Pull RequestsPropertiesExample JSON StructureOutputPropertiesOutput ExampleList Repository IssuesPropertiesExample JSON StructureOutputPropertiesOutput ExampleFind user or organizationFind repository nameSearch CodePropertiesExample JSON StructureOutputPropertiesOutput ExampleFind user or organizationFind repository nameFind pathSearch Issues and Pull RequestsPropertiesExample JSON StructureOutputPropertiesOutput ExampleStar RepositoryPropertiesExample JSON StructureOutputFind user or organizationFind repository nameTrigger Workflow DispatchPropertiesExample JSON StructureOutputPropertiesOutput ExampleUpdate IssuePropertiesExample JSON StructureOutputPropertiesOutput ExampleFind milestone numberTriggersEvents TriggerPropertiesOutputJSON ExampleNew IssuePropertiesOutputPropertiesJSON ExampleNew Pull RequestPropertiesOutputJSON ExampleWhat to do if your action is not listed here?Additional InstructionsHow to find your repository nameHow to find your issue numberHow to find your assigneeHow to find labelsHow to find user or organizationHow to find file pathHow to find your milestone number