> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.github.list.NewRelease

- Component: `appmixer.github.list.NewRelease`
- Kind: Trigger
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.github 4.2.0](https://connectors.appmixer.com/connector/appmixer.github/4.2.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.github/4.2.0/component/appmixer.github.list.NewRelease>

Triggers when a new release is done in your repository.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| Repository (`repositoryId`) | text | Enter the repository in `owner/repo` format (e.g. `octocat/Hello-World`). You can also pick from the dynamically loaded list of your repositories. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| ID (`id`) | integer | - |
| HTML URL (`html_url`) | string | - |
| Author Login (`author.login`) | string | - |
| Author ID (`author.id`) | integer | - |
| Author Avatar URL (`author.avatar_url`) | string | - |
| Tag Name (`tag_name`) | string | - |
| Name (`name`) | string | - |
| Body (`body`) | string | - |
| Created At (`created_at`) | string | - |
| Published At (`published_at`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.github.list.NewRelease",
  "author": "Appmixer <info@appmixer.com>",
  "icon": "(data URI omitted)",
  "description": "Triggers when a new release is done in your repository.",
  "private": false,
  "tick": true,
  "auth": {
    "service": "appmixer:github",
    "scope": [
      "user",
      "public_repo",
      "repo",
      "notifications",
      "gist"
    ]
  },
  "quota": {
    "manager": "appmixer:github",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "ID",
          "value": "id",
          "schema": {
            "type": "integer",
            "example": 1234567890
          }
        },
        {
          "label": "HTML URL",
          "value": "html_url",
          "schema": {
            "type": "string",
            "example": "https://github.com/octocat/Hello-World/issues/1"
          }
        },
        {
          "label": "Author Login",
          "value": "author.login",
          "schema": {
            "type": "string",
            "example": "octocat"
          }
        },
        {
          "label": "Author ID",
          "value": "author.id",
          "schema": {
            "type": "integer",
            "example": 583231
          }
        },
        {
          "label": "Author Avatar URL",
          "value": "author.avatar_url",
          "schema": {
            "type": "string",
            "example": "https://github.com/images/error/octocat_happy.gif"
          }
        },
        {
          "label": "Tag Name",
          "value": "tag_name",
          "schema": {
            "type": "string",
            "example": "v1.0.0"
          }
        },
        {
          "label": "Name",
          "value": "name",
          "schema": {
            "type": "string",
            "example": "Hello-World"
          }
        },
        {
          "label": "Body",
          "value": "body",
          "schema": {
            "type": "string",
            "example": "I'm having a problem with this."
          }
        },
        {
          "label": "Created At",
          "value": "created_at",
          "schema": {
            "type": "string",
            "example": "2024-01-15T10:30:00Z"
          }
        },
        {
          "label": "Published At",
          "value": "published_at",
          "schema": {
            "type": "string",
            "example": "2024-01-15T10:30:00Z"
          }
        }
      ]
    }
  ],
  "properties": {
    "schema": {
      "properties": {
        "repositoryId": {
          "type": "string",
          "pattern": "[^/]+[/][^/]+"
        }
      },
      "required": [
        "repositoryId"
      ]
    },
    "inspector": {
      "inputs": {
        "repositoryId": {
          "type": "text",
          "group": "config",
          "label": "Repository",
          "index": 1,
          "tooltip": "Enter the repository in `owner/repo` format (e.g. `octocat/Hello-World`). You can also pick from the dynamically loaded list of your repositories.",
          "source": {
            "url": "/component/appmixer/github/list/ListRepos?outPort=repositories",
            "data": {
              "transform": "./transformers#reposToSelectArray"
            }
          }
        }
      },
      "groups": {
        "config": {
          "label": "Configuration",
          "index": 1
        }
      }
    }
  }
}
```
