Interface GithubNodeParameters

Source
interface GithubNodeParameters {
    additionalFields?:
        | {
            body?: string;
            draft?: boolean;
            name?: string;
            prerelease?: boolean;
            target_commitish?: string;
        }
        | {
            body?: string;
            draft?: boolean;
            name?: string;
            prerelease?: boolean;
            tag_name?: string;
            target_commitish?: string;
        }
        | { commitId?: string };
    additionalParameters?:
        | {
            author: { email?: string; name?: string };
            branch: { branch?: string };
            committer: { email?: string; name?: string };
        }
        | { reference?: string };
    asBinaryProperty?: boolean;
    assignees?: { assignee?: string };
    authentication?: "oAuth2" | "accessToken";
    binaryData?: boolean;
    binaryPropertyName?: string;
    body?: string;
    commitMessage?: string;
    editFields?: {
        assignees?: { assignee?: string };
        body?: string;
        labels?: { label?: string };
        state?: "open" | "closed";
        state_reason?:
            | "completed"
            | "not_planned"
            | "reopened";
        title?: string;
    };
    email?: string;
    event?: | "comment"
    | "pending"
    | "approve"
    | "requestChanges";
    fileContent?: string;
    filePath?: string;
    getRepositoryIssuesFilters?: {
        assignee?: string;
        creator?: string;
        direction?: "asc"
        | "desc";
        labels?: string;
        mentioned?: string;
        since?: string;
        sort?: "created" | "updated" | "comments";
        state?: "all" | "open" | "closed";
    };
    getRepositoryPullRequestsFilters?: {
        direction?: "asc"
        | "desc";
        sort?:
            | "created"
            | "updated"
            | "popularity"
            | "long-running";
        state?: "all"
        | "open"
        | "closed";
    };
    inputs?: string;
    issueNumber?: number;
    labels?: { label?: string };
    limit?: number;
    lockReason?:
        | "spam"
        | "resolved"
        | "off-topic"
        | "too heated";
    operation?: | "create"
    | "get"
    | "getAll"
    | "update"
    | "list"
    | "delete"
    | "edit"
    | "disable"
    | "getRepositories"
    | "createComment"
    | "lock"
    | "getIssues"
    | "getLicense"
    | "getProfile"
    | "getPullRequests"
    | "listPopularPaths"
    | "listReferrers"
    | "invite"
    | "dispatch"
    | "dispatchAndWait"
    | "enable"
    | "getUsage";
    organization?: string;
    owner?: {
        mode: "list"
        | "url"
        | "name";
        value: string;
    };
    pullRequestNumber?: number;
    ref?: string
    | { mode: "list" | "name"; value: string };
    release_id?: string;
    releaseTag?: string;
    repository?: {
        mode: "list" | "url" | "name";
        value: string;
    };
    resource?: | "organization"
    | "file"
    | "user"
    | "repository"
    | "release"
    | "issue"
    | "review"
    | "workflow";
    returnAll?: boolean;
    reviewId?: string;
    title?: string;
    workflowId?: {
        mode: "list"
        | "name"
        | "filename";
        value: string;
    };
}

Properties§

Source§

readonly additionalFields?:
    | {
        body?: string;
        draft?: boolean;
        name?: string;
        prerelease?: boolean;
        target_commitish?: string;
    }
    | {
        body?: string;
        draft?: boolean;
        name?: string;
        prerelease?: boolean;
        tag_name?: string;
        target_commitish?: string;
    }
    | { commitId?: string }

Default: {} Type options: {"multipleValueButtonText":"Add Field"}

Source§

readonly additionalParameters?:
    | {
        author: { email?: string; name?: string };
        branch: { branch?: string };
        committer: { email?: string; name?: string };
    }
    | { reference?: string }

Additional fields to add Default: {}

Source§

readonly asBinaryProperty?: boolean

Whether to set the data of the file as binary property instead of returning the raw API response Default: true

Source§

readonly assignees?: { assignee?: string }

Default: {"assignee":""} Type options: {"multipleValues":true,"multipleValueButtonText":"Add Assignee"}

Source§

readonly authentication?: "oAuth2" | "accessToken"

Default: "accessToken"

Source§

readonly binaryData?: boolean

Whether the data to upload should be taken from binary field

Source§

readonly binaryPropertyName?: string

Default: "data"

Source§

readonly body?: string

The body of the issue Type options: {"rows":5}

Source§

readonly commitMessage?: string

Source§

readonly editFields?: {
    assignees?: { assignee?: string };
    body?: string;
    labels?: { label?: string };
    state?: "open" | "closed";
    state_reason?: "completed" | "not_planned" | "reopened";
    title?: string;
}

Default: {} Type options: {"multipleValueButtonText":"Add Field"}

Source§

readonly email?: string

The email address of the invited user

Source§

readonly event?: "comment" | "pending" | "approve" | "requestChanges"

The review action you want to perform Default: "approve"

Source§

readonly fileContent?: string

The text content of the file

Source§

readonly filePath?: string

The file path of the file. Has to contain the full path.

Source§

readonly getRepositoryIssuesFilters?: {
    assignee?: string;
    creator?: string;
    direction?: "asc" | "desc";
    labels?: string;
    mentioned?: string;
    since?: string;
    sort?: "created" | "updated" | "comments";
    state?: "all" | "open" | "closed";
}

Default: {} Type options: {"multipleValueButtonText":"Add Filter"}

Source§

readonly getRepositoryPullRequestsFilters?: {
    direction?: "asc" | "desc";
    sort?:
        | "created"
        | "updated"
        | "popularity"
        | "long-running";
    state?: "all"
    | "open"
    | "closed";
}

Default: {} Type options: {"multipleValueButtonText":"Add Filter"}

Source§

readonly inputs?: string

JSON object with input parameters for the workflow Default: "{}"

Source§

readonly issueNumber?: number

The number of the issue on which to create the comment on

Source§

readonly labels?: { label?: string }

Default: {"label":""} Type options: {"multipleValues":true,"multipleValueButtonText":"Add Label"}

Source§

readonly limit?: number

Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":100}

Source§

readonly lockReason?: "spam" | "resolved" | "off-topic" | "too heated"

The reason for locking the issue Default: "resolved"

Source§

readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "update"
    | "list"
    | "delete"
    | "edit"
    | "disable"
    | "getRepositories"
    | "createComment"
    | "lock"
    | "getIssues"
    | "getLicense"
    | "getProfile"
    | "getPullRequests"
    | "listPopularPaths"
    | "listReferrers"
    | "invite"
    | "dispatch"
    | "dispatchAndWait"
    | "enable"
    | "getUsage"

Default: "getRepositories"

Source§

readonly organization?: string

The GitHub organization that the user is being invited to

Source§

readonly owner?: { mode: "list" | "url" | "name"; value: string }

Default: {"mode":"list","value":""}

Source§

readonly pullRequestNumber?: number

The number of the pull request

Source§

readonly ref?: string | { mode: "list" | "name"; value: string }

The git reference for the workflow dispatch (branch or tag name) Default: "main"

Source§

readonly release_id?: string

Source§

readonly releaseTag?: string

The tag of the release

Source§

readonly repository?: { mode: "list" | "url" | "name"; value: string }

Default: {"mode":"list","value":""}

Source§

readonly resource?:
    | "organization"
    | "file"
    | "user"
    | "repository"
    | "release"
    | "issue"
    | "review"
    | "workflow"

Default: "issue"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit

Source§

readonly reviewId?: string

ID of the review

Source§

readonly title?: string

The title of the issue

Source§

readonly workflowId?: { mode: "list" | "name" | "filename"; value: string }

The workflow to dispatch Default: {"mode":"list","value":""}