GitHub
Read and update issues, pull requests and comments in GitHub repositories, and push branches to them.
17 implemented operations
connector.yamlissue.readRead one issue or pull request as an issue.repo.read
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- HostedReadyRuns hosted on Runx Connect.
- Runx scope
repo.read- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Provider permissions
repo- Local implementation
- Declared HTTP requests:
api.github.com
| Field and constraints | Type / values | Required |
|---|---|---|
numberPattern: ^[1-9][0-9]{0,9}$Minimum 1 | integer | string | Yes |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository",
"number"
],
"properties": {
"number": {
"type": [
"integer",
"string"
],
"minimum": 1,
"pattern": "^[1-9][0-9]{0,9}$"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"additionalProperties": false
}Result fields issue
Operation digest sha256:89d63012fc1c4609b42814cf047bfc464840db08a486d7341d9b67e28effed80Implementation sha256:64d3faa95f6fcbb19fc1d04f0f04b174e0b906efc243744e813fa25dcb81186e
branch.pushPush an exact local commit to a branch of the repository, never forcing it.repo.write
- LocalReadyA trusted host process runs it.
- HostedNot availableThe hosted placement does not offer this operation.
- Runx scope
repo.write- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Repeats
inherent: The operation sets a state, so sending it again changes nothing.- Local implementation
- Trusted host process:
tool git.push
| Field and constraints | Type / values | Required |
|---|---|---|
branchPattern: ^[A-Za-z0-9._/-]{1,200}$ | string | Yes |
commitPattern: ^[0-9a-f]{40}([0-9a-f]{24})?$ | string | Yes |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository",
"branch",
"commit"
],
"properties": {
"branch": {
"type": "string",
"pattern": "^[A-Za-z0-9._/-]{1,200}$"
},
"commit": {
"type": "string",
"pattern": "^[0-9a-f]{40}([0-9a-f]{24})?$"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"additionalProperties": false
}Result fields branchcommit
Operation digest sha256:37df8011852bd1c06681859197a52cae7a31be6f025e62f1ec7a7c459ea21c4eImplementation sha256:10d1e9afc79d861d1b1bf35cdcc69befc2c348cd8ade62fd754c48030b9488ae
checks.listRead one bounded page of latest check runs for an exact commit SHA; check runs do not include legacy commit statuses.repo.read
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- HostedNot availableThe hosted placement does not offer this operation.
- Runx scope
repo.read- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Local implementation
- Declared HTTP requests:
api.github.com
| Field and constraints | Type / values | Required |
|---|---|---|
pageMinimum 1Maximum 10000 | integer | Yes |
commitPattern: ^[0-9a-f]{40}$ | string | Yes |
per_pageMinimum 1Maximum 100 | integer | Yes |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$Max. 201 characters | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository",
"commit",
"per_page",
"page"
],
"properties": {
"page": {
"type": "integer",
"maximum": 10000,
"minimum": 1
},
"commit": {
"type": "string",
"pattern": "^[0-9a-f]{40}$"
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$",
"maxLength": 201
}
},
"additionalProperties": false
}Result fields checks
Operation digest sha256:703f6ec2652d78c065e54c9eaea40eeb9ef428c78dd5870eb647460bbe426ecbImplementation sha256:1f5871efd0c1fe530d3d29cfe2c5168f84a70b282686be64bb8a279f568840dc
issues.listList one page of a repository's issues; GitHub includes pull requests, which carry a pull_request field.repo.read
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- HostedReadyRuns hosted on Runx Connect.
- Runx scope
repo.read- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Provider permissions
repo- Local implementation
- Declared HTTP requests:
api.github.com
| Field and constraints | Type / values | Required |
|---|---|---|
pageMinimum 1Maximum 100000 | integer | No |
sinceFormat: date-timeMax. 64 characters | string | No |
state | "open" · "closed" · "all" | No |
labelsMax. 1000 characters | string | No |
per_pageMinimum 1Maximum 100 | integer | No |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1
},
"since": {
"type": "string",
"format": "date-time",
"maxLength": 64
},
"state": {
"enum": [
"open",
"closed",
"all"
]
},
"labels": {
"type": "string",
"maxLength": 1000
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"additionalProperties": false
}Result fields issues
Operation digest sha256:c47fdb022e02730796cdb9b367899223874b53092a8251b682f7a12cd5de94dbImplementation sha256:46959afa156baf0480ec069d1e7759fe21ca85224a3af56d314a277165dcc9c5
issues.readRead issues by number.repo.read
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- HostedReadyRuns hosted on Runx Connect.
- Runx scope
repo.read- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Provider permissions
repo- Local implementation
- Declared HTTP requests:
api.github.com
| Field and constraints | Type / values | Required |
|---|---|---|
numbers1–100 itemsUnique items | array of integer | string | Yes |
numbers[]Pattern: ^[1-9][0-9]{0,9}$Minimum 1 | integer | string | |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository",
"numbers"
],
"properties": {
"numbers": {
"type": "array",
"items": {
"type": [
"integer",
"string"
],
"minimum": 1,
"pattern": "^[1-9][0-9]{0,9}$"
},
"maxItems": 100,
"minItems": 1,
"uniqueItems": true
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"additionalProperties": false
}Result fields issues
Operation digest sha256:3320d76783c044902cd58f7089d067a9a9c83d594dd2235672364e3e14d23144Implementation sha256:c20785bab15a01fcb7cebfe71fe1eed245677fc2aa501d712819e7839cd2c5fe
comment.readRead one issue or pull request comment.repo.read
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- HostedReadyRuns hosted on Runx Connect.
- Runx scope
repo.read- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Provider permissions
repo- Local implementation
- Declared HTTP requests:
api.github.com
| Field and constraints | Type / values | Required |
|---|---|---|
comment_idPattern: ^[1-9][0-9]{0,9}$Minimum 1 | integer | string | Yes |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository",
"comment_id"
],
"properties": {
"comment_id": {
"type": [
"integer",
"string"
],
"minimum": 1,
"pattern": "^[1-9][0-9]{0,9}$"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"additionalProperties": false
}Result fields comment
Operation digest sha256:8b5e30d3be9238cfbedae2415d00395c5b0aa355de4487ebf8f04c11c9788953Implementation sha256:0e5daea0078025122bf72a903e8a68e95eafb4f9ea192b1fbaf51df0953bfd01
comments.listList one page of the comments on an issue or pull request.repo.read
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- HostedReadyRuns hosted on Runx Connect.
- Runx scope
repo.read- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Provider permissions
repo- Local implementation
- Declared HTTP requests:
api.github.com
| Field and constraints | Type / values | Required |
|---|---|---|
numberPattern: ^[1-9][0-9]{0,9}$Minimum 1 | integer | string | Yes |
per_pageMinimum 1Maximum 100 | integer | No |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository",
"number"
],
"properties": {
"number": {
"type": [
"integer",
"string"
],
"minimum": 1,
"pattern": "^[1-9][0-9]{0,9}$"
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"additionalProperties": false
}Result fields comments
Operation digest sha256:c562c807d93ae7059d23ceedd31b4892123bf85a4e1431d4560c7eb9b2ee0614Implementation sha256:f8319cdb57ffacc04c2a8966e9ff363d0b02a97fcc79658817e6b4f2abdff280
issues.createOpen issues in a repository, one issue per item.repo.write
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- HostedReadyRuns hosted on Runx Connect.
- Runx scope
repo.write- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Leaves
- A
threadreference for each item. - Provider permissions
repo- Local implementation
- Declared HTTP requests:
api.github.com
| Field and constraints | Type / values | Required |
|---|---|---|
issues1–20 items | array of object | Yes |
issues[]Only listed fields accepted | object | |
issues[].Max. 65536 characters | string | No |
issues[].Min. 1 characterMax. 256 characters | string | Yes |
issues[].At most 100 items | array of string | No |
issues[].At most 10 items | array of string | No |
issues[].Minimum 1 | integer | No |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository",
"issues"
],
"properties": {
"issues": {
"type": "array",
"items": {
"type": "object",
"required": [
"title"
],
"properties": {
"body": {
"type": "string",
"maxLength": 65536
},
"title": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"labels": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100
},
"assignees": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10
},
"milestone": {
"type": "integer",
"minimum": 1
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"additionalProperties": false
}Result fields issues
Operation digest sha256:043bfb2e57e6619afbc0ab266f564c8a401059823f3739212167404bb8179668Implementation sha256:7382e15dae3c01e5af567897b3ed38a67bfe11496402e7dcf8565bb75b10c632
issues.updateUpdate issues, each with its own patch of title, body, state, labels, assignees or milestone.repo.write
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- HostedReadyRuns hosted on Runx Connect.
- Runx scope
repo.write- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Repeats
inherent: The operation sets a state, so sending it again changes nothing.- Leaves
- A
threadreference for each item. - Provider permissions
repo- Local implementation
- Declared HTTP requests:
api.github.com
| Field and constraints | Type / values | Required |
|---|---|---|
updates1–20 items | array of object | Yes |
updates[]Only listed fields accepted | object | |
updates[].At least 1 fieldOnly listed fields accepted | object | Yes |
updates[].Max. 65536 characters | string | null | No |
updates[]. | "open" · "closed" | No |
updates[].Min. 1 characterMax. 256 characters | string | No |
updates[].At most 100 items | array of string | No |
updates[].At most 10 items | array of string | No |
updates[]. | integer | null | No |
updates[]. | "completed" · "not_planned" · "reopened" | No |
updates[].Pattern: ^[1-9][0-9]{0,9}$Minimum 1 | integer | string | Yes |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository",
"updates"
],
"properties": {
"updates": {
"type": "array",
"items": {
"type": "object",
"required": [
"number",
"patch"
],
"properties": {
"patch": {
"type": "object",
"properties": {
"body": {
"type": [
"string",
"null"
],
"maxLength": 65536
},
"state": {
"enum": [
"open",
"closed"
]
},
"title": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"labels": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100
},
"assignees": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10
},
"milestone": {
"type": [
"integer",
"null"
]
},
"state_reason": {
"enum": [
"completed",
"not_planned",
"reopened"
]
}
},
"minProperties": 1,
"additionalProperties": false
},
"number": {
"type": [
"integer",
"string"
],
"minimum": 1,
"pattern": "^[1-9][0-9]{0,9}$"
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"additionalProperties": false
}Result fields updates
Operation digest sha256:cbe1f831b2d9c19218b4b81ec2636adbf32d0f7b09954240586cc3dadac246cfImplementation sha256:4eb5b59f2168edd5017f9701171b7a9c63860a8a13efc1d75cbe4f26f3d4b868
comments.createComment on issues or pull requests, one comment per item.issue.comment
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- HostedReadyRuns hosted on Runx Connect.
- Runx scope
issue.comment- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Leaves
- A
commentreference for each item. - Provider permissions
repo- Local implementation
- Declared HTTP requests:
api.github.com
| Field and constraints | Type / values | Required |
|---|---|---|
comments1–20 items | array of object | Yes |
comments[]Only listed fields accepted | object | |
comments[].Min. 1 characterMax. 65536 characters | string | Yes |
comments[].Pattern: ^[1-9][0-9]{0,9}$Minimum 1 | integer | string | Yes |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository",
"comments"
],
"properties": {
"comments": {
"type": "array",
"items": {
"type": "object",
"required": [
"number",
"body"
],
"properties": {
"body": {
"type": "string",
"maxLength": 65536,
"minLength": 1
},
"number": {
"type": [
"integer",
"string"
],
"minimum": 1,
"pattern": "^[1-9][0-9]{0,9}$"
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"additionalProperties": false
}Result fields comments
Operation digest sha256:c884f1092cf51f2153225b9ebf38d6a5cebec2789802a41d8170dbe81dab1a78Implementation sha256:777ce0af09956176317637d926c921c8cb30906a45838af6d183be4e26a95752
comments.updateEdit comments, one new body per item.issue.comment
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- HostedReadyRuns hosted on Runx Connect.
- Runx scope
issue.comment- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Repeats
inherent: The operation sets a state, so sending it again changes nothing.- Leaves
- A
commentreference for each item. - Provider permissions
repo- Local implementation
- Declared HTTP requests:
api.github.com
| Field and constraints | Type / values | Required |
|---|---|---|
comments1–20 items | array of object | Yes |
comments[]Only listed fields accepted | object | |
comments[].Min. 1 characterMax. 65536 characters | string | Yes |
comments[].Pattern: ^[1-9][0-9]{0,9}$Minimum 1 | integer | string | Yes |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository",
"comments"
],
"properties": {
"comments": {
"type": "array",
"items": {
"type": "object",
"required": [
"comment_id",
"body"
],
"properties": {
"body": {
"type": "string",
"maxLength": 65536,
"minLength": 1
},
"comment_id": {
"type": [
"integer",
"string"
],
"minimum": 1,
"pattern": "^[1-9][0-9]{0,9}$"
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"additionalProperties": false
}Result fields comments
Operation digest sha256:7436937f475f7a6f7eaccb12c109acb0dd0baad22c621d4afdb1bce3d52ce815Implementation sha256:69ae25b7dabe7fb3514df45b71004b491d30d97b7abd9d0cebea0823cb2ad4ba
commits.compareRead the three-dot comparison of exact base and head commits; files are returned only on the first page and capped by GitHub at 300.repo.read
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- HostedNot availableThe hosted placement does not offer this operation.
- Runx scope
repo.read- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Local implementation
- Declared HTTP requests:
api.github.com
| Field and constraints | Type / values | Required |
|---|---|---|
basePattern: ^[0-9a-f]{40}$ | string | Yes |
headPattern: ^[0-9a-f]{40}$ | string | Yes |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$Max. 201 characters | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository",
"base",
"head"
],
"properties": {
"base": {
"type": "string",
"pattern": "^[0-9a-f]{40}$"
},
"head": {
"type": "string",
"pattern": "^[0-9a-f]{40}$"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$",
"maxLength": 201
}
},
"additionalProperties": false
}Result fields comparison
Operation digest sha256:899af5f67455c56237ea9f60f5daea4cde92f09fb1f012b864689fdd6868b610Implementation sha256:80d5d1258266466c92becc781f2a5d4a34545f429e060d2384bd6ebd508ee1ec
pullrequest.openOpen a pull request from a pushed branch.pr.write
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- HostedReadyRuns hosted on Runx Connect.
- Runx scope
pr.write- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Leaves
- A
change_requestreference. - Provider permissions
repo- Local implementation
- Declared HTTP requests:
api.github.com
| Field and constraints | Type / values | Required |
|---|---|---|
baseMin. 1 characterMax. 255 characters | string | Yes |
bodyMin. 1 characterMax. 65536 characters | string | Yes |
headMin. 1 characterMax. 255 characters | string | Yes |
draft | boolean | Yes |
titleMin. 1 characterMax. 256 characters | string | Yes |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository",
"title",
"body",
"head",
"base",
"draft"
],
"properties": {
"base": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"body": {
"type": "string",
"maxLength": 65536,
"minLength": 1
},
"head": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"draft": {
"type": "boolean"
},
"title": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"additionalProperties": false
}Result fields pull
Operation digest sha256:62866f7f16a6480e553e70fc47cf66758f3c14da0172661908a449cc5008aad6Implementation sha256:f95b73780b8662fd3520ace33d55c208f6dc7ae43bdd54843f1ef1c301d1b81f
pullrequest.readRead one pull request.repo.read
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- HostedReadyRuns hosted on Runx Connect.
- Runx scope
repo.read- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Provider permissions
repo- Local implementation
- Declared HTTP requests:
api.github.com
| Field and constraints | Type / values | Required |
|---|---|---|
numberPattern: ^[1-9][0-9]{0,9}$Minimum 1 | integer | string | Yes |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository",
"number"
],
"properties": {
"number": {
"type": [
"integer",
"string"
],
"minimum": 1,
"pattern": "^[1-9][0-9]{0,9}$"
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"additionalProperties": false
}Result fields pull
Operation digest sha256:2c9c4084a383860999d5344820000ac5660731928676fd3b2131b44099822f05Implementation sha256:1f2719886be1c4587fa5b3fa701f2fdc6f1ccb003a26e718838e5a80f02e3394
pullrequests.listList one page of a repository's pull requests.repo.read
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- HostedReadyRuns hosted on Runx Connect.
- Runx scope
repo.read- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Provider permissions
repo- Local implementation
- Declared HTTP requests:
api.github.com
| Field and constraints | Type / values | Required |
|---|---|---|
baseMax. 255 characters | string | No |
headMax. 300 characters | string | No |
pageMinimum 1Maximum 100000 | integer | No |
sort | "created" · "updated" · "popularity" · "long-running" | No |
state | "open" · "closed" · "all" | No |
per_pageMinimum 1Maximum 100 | integer | No |
direction | "asc" · "desc" | No |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository"
],
"properties": {
"base": {
"type": "string",
"maxLength": 255
},
"head": {
"type": "string",
"maxLength": 300
},
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1
},
"sort": {
"enum": [
"created",
"updated",
"popularity",
"long-running"
]
},
"state": {
"enum": [
"open",
"closed",
"all"
]
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"direction": {
"enum": [
"asc",
"desc"
]
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"additionalProperties": false
}Result fields pulls
Operation digest sha256:46f7a0c296b33cfd7e22e1e99211673116762d01252bdaf8258cd5b4aca70364Implementation sha256:7b1c87df8f4fd533fe2cce292b5727411d930967a9cbda04fa957c334f525f2c
pullrequests.readRead pull requests by number.repo.read
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- HostedReadyRuns hosted on Runx Connect.
- Runx scope
repo.read- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Provider permissions
repo- Local implementation
- Declared HTTP requests:
api.github.com
| Field and constraints | Type / values | Required |
|---|---|---|
numbers1–100 itemsUnique items | array of integer | string | Yes |
numbers[]Pattern: ^[1-9][0-9]{0,9}$Minimum 1 | integer | string | |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository",
"numbers"
],
"properties": {
"numbers": {
"type": "array",
"items": {
"type": [
"integer",
"string"
],
"minimum": 1,
"pattern": "^[1-9][0-9]{0,9}$"
},
"maxItems": 100,
"minItems": 1,
"uniqueItems": true
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"additionalProperties": false
}Result fields pulls
Operation digest sha256:adf4fe2d9dc2e56f4661e5c7fc81f085f38ade955eaebae3e0cabcf8ee900b8eImplementation sha256:21eb5910b5adbfa3467acd7f202194f3a5a38ed07c05aa731da754c8aaf4b49c
pullrequests.updateUpdate pull requests, each with its own patch of title, body, state, base or maintainer_can_modify.repo.write
- LocalReadyThe runtime sends the operation's declared HTTP requests.
- HostedReadyRuns hosted on Runx Connect.
- Runx scope
repo.write- Target
{"$argument":"/repository"}- Credentials
- Any of
token - Repeats
inherent: The operation sets a state, so sending it again changes nothing.- Leaves
- A
change_requestreference for each item. - Provider permissions
repo- Local implementation
- Declared HTTP requests:
api.github.com
| Field and constraints | Type / values | Required |
|---|---|---|
updates1–20 items | array of object | Yes |
updates[]Only listed fields accepted | object | |
updates[].At least 1 fieldOnly listed fields accepted | object | Yes |
updates[].Min. 1 characterMax. 255 characters | string | No |
updates[].Max. 65536 characters | string | null | No |
updates[]. | "open" · "closed" | No |
updates[].Min. 1 characterMax. 256 characters | string | No |
updates[]. | boolean | No |
updates[].Pattern: ^[1-9][0-9]{0,9}$Minimum 1 | integer | string | Yes |
repositoryPattern: ^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$ | string | Yes |
Required fields apply within their containing object. Unlisted fields are rejected.
Full input schema
{
"type": "object",
"required": [
"repository",
"updates"
],
"properties": {
"updates": {
"type": "array",
"items": {
"type": "object",
"required": [
"number",
"patch"
],
"properties": {
"patch": {
"type": "object",
"properties": {
"base": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"body": {
"type": [
"string",
"null"
],
"maxLength": 65536
},
"state": {
"enum": [
"open",
"closed"
]
},
"title": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"maintainer_can_modify": {
"type": "boolean"
}
},
"minProperties": 1,
"additionalProperties": false
},
"number": {
"type": [
"integer",
"string"
],
"minimum": 1,
"pattern": "^[1-9][0-9]{0,9}$"
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1
},
"repository": {
"type": "string",
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
}
},
"additionalProperties": false
}Result fields updates
Operation digest sha256:69a24601fb140bd4d00766d858b940d8f17805f2344ebf703241e21e247fafefImplementation sha256:70c42162b347711f58141b40e362d762739769c51fe599e7d30414951ae7956d
Not implemented
These operations are declared in the manifest but have no implementation on any placement, so they cannot run yet. A request counts toward building one.
pullrequest.mergeMerge a pull request.pr.merge
- LocalNot availableThe local placement has no implementation for this operation.Each call needs approval evidence or standing approval.
- HostedNot availableThe hosted placement does not offer this operation.Each call needs approval evidence or standing approval.
- Runx scope
pr.merge- Target
{"$argument":"/repository"}
The manifest declares no input schema for this operation.
The manifest names no result fields.
Operation digest sha256:ff0e0e0084ab62648af2843474ce1e62e00655623a1673d9069500fe2f410b02
Authentication
Commands here are for runx 0.11.1.
GitHub accepts a local CLI session, a stored credential or a hosted grant.
- gh session
- Uses the account returned by
gh auth token --hostname github.com, in place of thetokencredential. The token is read each run and never stored. Local placement only.runx connector use github --session
- Stored credential
token - A
api_keywith one field:token(GitHub token). Sent only toapi.github.com,github.com. Supply it through standard input in the project where the skill runs; Runx stores the profile and selects it for this connector.runx connector use github --credential token
- Hosted grant
- OAuth brokered by Runx Connect. The provider credential stays in the hosted service.
runx connector use github --hosted
Authentication methods describe what the provider requires. They do not imply Runx supports every way the provider authenticates, and they do not grant access to your account.
Permissions
Each operation requires every Runx scope it declares. The account or key behind an instance must also reach the target on GitHub’s side; setting one up adds no GitHub permissions.
GitHub OAuth permissions
What the hosted placement asks GitHub for, per operation. These are GitHub’s permissions, distinct from Runx scopes.
Approval
These operations need approval evidence on every call, which a grant alone never replaces: pullrequest.merge.
A stored credential may do everything its scopes allow. Add --scope to runx connector use --credential to narrow it.
Skills that use GitHub
GitHub sync
Read or sync GitHub issues, threads and pull requests with scoped access.
@runxGitHub Issue to PR
Take a scoped issue through implementation, checks and a pull request ready for review.
@runxIssue triage
Analyze GitHub issues and draft useful responses without changing the repository.
@runxPull request review
Review a pull request's changes and checks, with findings tied to source lines.
@runx