Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/actionify/src/deps/octokit-types.ts>Repository

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
interface Repository
import { type Repository } from "https://deno.land/x/actionify@0.3.0/src/deps/octokit-types.ts";

A git repository

Properties

id: number

Unique identifier of the repository

node_id: string

The GraphQL identifier of the repository.

name: string

The name of the repository.

full_name: string

The full, globally unique, name of the repository.

private: boolean

Whether the repository is private or public.

owner: User
html_url: string

The URL to view the repository on GitHub.com.

description: string | null

The repository description.

fork: boolean

Whether the repository is a fork.

url: string

The URL to get more information about the repository from the GitHub API.

forks_url: string

The API URL to list the forks of the repository.

keys_url: string

A template for the API URL to get information about deploy keys on the repository.

collaborators_url: string

A template for the API URL to get information about collaborators of the repository.

teams_url: string

The API URL to list the teams on the repository.

hooks_url: string

The API URL to list the hooks on the repository.

issue_events_url: string

A template for the API URL to get information about issue events on the repository.

events_url: string

The API URL to list the events of the repository.

assignees_url: string

A template for the API URL to list the available assignees for issues in the repository.

branches_url: string

A template for the API URL to get information about branches in the repository.

tags_url: string

The API URL to get information about tags on the repository.

blobs_url: string

A template for the API URL to create or retrieve a raw Git blob in the repository.

git_tags_url: string

A template for the API URL to get information about Git tags of the repository.

git_refs_url: string

A template for the API URL to get information about Git refs of the repository.

trees_url: string

A template for the API URL to create or retrieve a raw Git tree of the repository.

statuses_url: string

A template for the API URL to get information about statuses of a commit.

languages_url: string

The API URL to get information about the languages of the repository.

stargazers_url: string

The API URL to list the stargazers on the repository.

contributors_url: string

A template for the API URL to list the contributors to the repository.

subscribers_url: string

The API URL to list the subscribers on the repository.

subscription_url: string

The API URL to subscribe to notifications for this repository.

commits_url: string

A template for the API URL to get information about commits on the repository.

git_commits_url: string

A template for the API URL to get information about Git commits of the repository.

comments_url: string

A template for the API URL to get information about comments on the repository.

issue_comment_url: string

A template for the API URL to get information about issue comments on the repository.

contents_url: string

A template for the API URL to get the contents of the repository.

compare_url: string

A template for the API URL to compare two commits or refs.

merges_url: string

The API URL to merge branches in the repository.

archive_url: string

A template for the API URL to download the repository as an archive.

downloads_url: string

The API URL to list the downloads on the repository.

issues_url: string

A template for the API URL to get information about issues on the repository.

pulls_url: string

A template for the API URL to get information about pull requests on the repository.

milestones_url: string

A template for the API URL to get information about milestones of the repository.

notifications_url: string

A template for the API URL to get information about notifications on the repository.

labels_url: string

A template for the API URL to get information about labels of the repository.

releases_url: string

A template for the API URL to get information about releases on the repository.

deployments_url: string

The API URL to list the deployments of the repository.

created_at: number | string
updated_at: string
pushed_at: number | string | null
git_url: string
ssh_url: string
clone_url: string
svn_url: string
homepage: string | null
size: number
stargazers_count: number
watchers_count: number
language: string | null
has_issues: boolean

Whether issues are enabled.

has_projects: boolean

Whether projects are enabled.

has_downloads: boolean

Whether downloads are enabled.

has_wiki: boolean

Whether the wiki is enabled.

has_pages: boolean
forks_count: number
mirror_url: string | null
archived: boolean

Whether the repository is archived.

optional
disabled: boolean

Returns whether or not this repository is disabled.

open_issues_count: number
license: License | null
forks: number
open_issues: number
watchers: number
optional
stargazers: number
default_branch: string

The default branch of the repository.

optional
allow_squash_merge: boolean

Whether to allow squash merges for pull requests.

optional
allow_merge_commit: boolean

Whether to allow merge commits for pull requests.

optional
allow_rebase_merge: boolean

Whether to allow rebase merges for pull requests.

optional
allow_auto_merge: boolean

Whether to allow auto-merge for pull requests.

optional
allow_forking: boolean

Whether to allow private forks

optional
allow_update_branch: boolean
optional
use_squash_pr_title_as_default: boolean
is_template: boolean
web_commit_signoff_required: boolean
topics: string[]
visibility: "public" | "private" | "internal"
optional
delete_branch_on_merge: boolean

Whether to delete head branches when pull requests are merged

optional
master_branch: string
optional
permissions: { pull: boolean; push: boolean; admin: boolean; maintain?: boolean; triage?: boolean; }
optional
public: boolean
optional
organization: string