{
  "name": "github",
  "display_name": "GitHub",
  "description": "Consume GitHub API",
  "group": [
    "transform"
  ],
  "versions": [
    1.0
  ],
  "inputs": 1,
  "outputs": 1,
  "credentials": [
    {
      "name": "githubApi",
      "required": true
    },
    {
      "name": "githubOAuth2Api",
      "required": true
    }
  ],
  "properties": [
    {
      "name": "authentication",
      "display_name": "Authentication",
      "kind": "options",
      "required": false,
      "default": "accessToken"
    },
    {
      "name": "resource",
      "display_name": "Resource",
      "kind": "options",
      "required": false,
      "default": "issue"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "getRepositories",
      "description": "Returns all repositories of an organization"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "create",
      "description": "Create a new issue"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "create",
      "description": "Create a new file in repository"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "getIssues",
      "description": "Get the data of a single repository"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "getRepositories",
      "description": "Returns the repositories of a user"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "create",
      "description": "Creates a new release"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "create",
      "description": "Creates a new review"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "dispatch",
      "description": "Disable a workflow"
    },
    {
      "name": "webhookNotice",
      "display_name": "Your execution will pause until a webhook is called. This URL will be generated at runtime and passed to your Github workflow as a resumeUrl input.",
      "kind": "notice",
      "required": false,
      "default": ""
    },
    {
      "name": "owner",
      "display_name": "Repository Owner",
      "kind": "resourceLocator",
      "required": true
    },
    {
      "name": "repository",
      "display_name": "Repository Name",
      "kind": "resourceLocator",
      "required": true
    },
    {
      "name": "workflowId",
      "display_name": "Workflow",
      "kind": "resourceLocator",
      "required": true,
      "description": "The workflow to dispatch"
    },
    {
      "name": "ref",
      "display_name": "Ref",
      "kind": "string",
      "required": true,
      "default": "main",
      "description": "The git reference for the workflow dispatch (branch or tag name)"
    },
    {
      "name": "ref",
      "display_name": "Ref",
      "kind": "resourceLocator",
      "required": true,
      "description": "The git reference for the workflow dispatch (branch, tag, or commit SHA)"
    },
    {
      "name": "inputs",
      "display_name": "Inputs",
      "kind": "json",
      "required": false,
      "default": "{}",
      "description": "JSON object with input parameters for the workflow"
    },
    {
      "name": "filePath",
      "display_name": "File Path",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The file path of the file. Has to contain the full path."
    },
    {
      "name": "filePath",
      "display_name": "Path",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "The path of the folder to list"
    },
    {
      "name": "binaryData",
      "display_name": "Binary File",
      "kind": "boolean",
      "required": true,
      "description": "Whether the data to upload should be taken from binary field"
    },
    {
      "name": "fileContent",
      "display_name": "File Content",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The text content of the file"
    },
    {
      "name": "binaryPropertyName",
      "display_name": "Input Binary Field",
      "kind": "string",
      "required": true,
      "default": "data"
    },
    {
      "name": "commitMessage",
      "display_name": "Commit Message",
      "kind": "string",
      "required": true,
      "default": ""
    },
    {
      "name": "additionalParameters",
      "display_name": "Additional Parameters",
      "kind": "fixedCollection",
      "required": false,
      "default": "",
      "description": "Additional fields to add"
    },
    {
      "name": "asBinaryProperty",
      "display_name": "As Binary Property",
      "kind": "boolean",
      "required": false,
      "description": "Whether to set the data of the file as binary property instead of returning the raw API response"
    },
    {
      "name": "binaryPropertyName",
      "display_name": "Put Output File in Field",
      "kind": "string",
      "required": true,
      "default": "data"
    },
    {
      "name": "additionalParameters",
      "display_name": "Additional Parameters",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "Additional fields to add"
    },
    {
      "name": "title",
      "display_name": "Title",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The title of the issue"
    },
    {
      "name": "body",
      "display_name": "Body",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "The body of the issue"
    },
    {
      "name": "labels",
      "display_name": "Labels",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "Label to add to issue"
    },
    {
      "name": "assignees",
      "display_name": "Assignees",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "User to assign issue too"
    },
    {
      "name": "issueNumber",
      "display_name": "Issue Number",
      "kind": "number",
      "required": true,
      "description": "The number of the issue on which to create the comment on"
    },
    {
      "name": "body",
      "display_name": "Body",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "The body of the comment"
    },
    {
      "name": "issueNumber",
      "display_name": "Issue Number",
      "kind": "number",
      "required": true,
      "description": "The number of the issue edit"
    },
    {
      "name": "editFields",
      "display_name": "Edit Fields",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "User to assign issue to"
    },
    {
      "name": "issueNumber",
      "display_name": "Issue Number",
      "kind": "number",
      "required": true,
      "description": "The issue number to get data for"
    },
    {
      "name": "issueNumber",
      "display_name": "Issue Number",
      "kind": "number",
      "required": true,
      "description": "The issue number to lock"
    },
    {
      "name": "lockReason",
      "display_name": "Lock Reason",
      "kind": "options",
      "required": false,
      "default": "resolved",
      "description": "The issue is Off-Topic"
    },
    {
      "name": "releaseTag",
      "display_name": "Tag",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The tag of the release"
    },
    {
      "name": "additionalFields",
      "display_name": "Additional Fields",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "The name of the issue"
    },
    {
      "name": "release_id",
      "display_name": "Release ID",
      "kind": "string",
      "required": true,
      "default": ""
    },
    {
      "name": "additionalFields",
      "display_name": "Additional Fields",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "The body of the release"
    },
    {
      "name": "returnAll",
      "display_name": "Return All",
      "kind": "boolean",
      "required": false,
      "description": "Whether to return all results or only up to a given limit"
    },
    {
      "name": "limit",
      "display_name": "Limit",
      "kind": "number",
      "required": false,
      "description": "Max number of results to return"
    },
    {
      "name": "returnAll",
      "display_name": "Return All",
      "kind": "boolean",
      "required": false,
      "description": "Whether to return all results or only up to a given limit"
    },
    {
      "name": "limit",
      "display_name": "Limit",
      "kind": "number",
      "required": false,
      "description": "Max number of results to return"
    },
    {
      "name": "getRepositoryIssuesFilters",
      "display_name": "Filters",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "Return only issues which are assigned to a specific user"
    },
    {
      "name": "returnAll",
      "display_name": "Return All",
      "kind": "boolean",
      "required": false,
      "description": "Whether to return all results or only up to a given limit"
    },
    {
      "name": "limit",
      "display_name": "Limit",
      "kind": "number",
      "required": false,
      "description": "Max number of results to return. Maximum value is <a href="
    },
    {
      "name": "getRepositoryPullRequestsFilters",
      "display_name": "Filters",
      "kind": "collection",
      "required": false,
      "default": "open",
      "description": "Returns pull requests with any state"
    },
    {
      "name": "pullRequestNumber",
      "display_name": "PR Number",
      "kind": "number",
      "required": true,
      "description": "The number of the pull request"
    },
    {
      "name": "reviewId",
      "display_name": "Review ID",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "ID of the review"
    },
    {
      "name": "pullRequestNumber",
      "display_name": "PR Number",
      "kind": "number",
      "required": true,
      "description": "The number of the pull request"
    },
    {
      "name": "returnAll",
      "display_name": "Return All",
      "kind": "boolean",
      "required": false,
      "description": "Whether to return all results or only up to a given limit"
    },
    {
      "name": "limit",
      "display_name": "Limit",
      "kind": "number",
      "required": false,
      "description": "Max number of results to return"
    },
    {
      "name": "pullRequestNumber",
      "display_name": "PR Number",
      "kind": "number",
      "required": true,
      "description": "The number of the pull request to review"
    },
    {
      "name": "event",
      "display_name": "Event",
      "kind": "options",
      "required": false,
      "default": "approve",
      "description": "Approve the pull request"
    },
    {
      "name": "body",
      "display_name": "Body",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "The body of the review (required for events Request Changes or Comment)"
    },
    {
      "name": "additionalFields",
      "display_name": "Additional Fields",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "The SHA of the commit that needs a review, if different from the latest"
    },
    {
      "name": "body",
      "display_name": "Body",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "The body of the review"
    },
    {
      "name": "returnAll",
      "display_name": "Return All",
      "kind": "boolean",
      "required": false,
      "description": "Whether to return all results or only up to a given limit"
    },
    {
      "name": "limit",
      "display_name": "Limit",
      "kind": "number",
      "required": false,
      "description": "Max number of results to return"
    },
    {
      "name": "organization",
      "display_name": "Organization",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The GitHub organization that the user is being invited to"
    },
    {
      "name": "email",
      "display_name": "Email",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The email address of the invited user"
    },
    {
      "name": "returnAll",
      "display_name": "Return All",
      "kind": "boolean",
      "required": false,
      "description": "Whether to return all results or only up to a given limit"
    },
    {
      "name": "limit",
      "display_name": "Limit",
      "kind": "number",
      "required": false,
      "description": "Max number of results to return"
    },
    {
      "name": "returnAll",
      "display_name": "Return All",
      "kind": "boolean",
      "required": false,
      "description": "Whether to return all results or only up to a given limit"
    },
    {
      "name": "limit",
      "display_name": "Limit",
      "kind": "number",
      "required": false,
      "description": "Max number of results to return"
    },
    {
      "name": "getUserIssuesFilters",
      "display_name": "Filters",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "Return only issues in which a specific user was mentioned"
    }
  ],
  "source_path": "/home/mcochran/n8n/packages/nodes-base/nodes/Github/Github.node.ts"
}