dev.knotless.rerun

lexicons.knotless.dev

Documentation

Kept in the account of the repository's owner, keyed `<repo key>.<tid>`. A runner acts on the requests in the owner's account, newer than the last it acted on, and on no one else's; it runs the ref or the pull's head where it points when the runner reads it. Naming neither a ref nor a pull asks for nothing. With a ref and a workflow, it runs only that workflow there, its steps seeing env: one that runs on a push to the ref, or one whose trigger is to be asked for. With a pull and a workflow, it runs only that one of the pull's workflows, where the pull is.

main record

Kept in the account of the repository's owner, keyed `<repo key>.<tid>`. A runner acts on the requests in the owner's account, newer than the last it acted on, and on no one else's; it runs the ref or the pull's head where it points when the runner reads it. Naming neither a ref nor a pull asks for nothing. With a ref and a workflow, it runs only that workflow there, its steps seeing env: one that runs on a push to the ref, or one whose trigger is to be asked for. With a pull and a workflow, it runs only that one of the pull's workflows, where the pull is.

Record Key any Any valid record key

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

env array of ref #var Optional

With workflow, variables its steps see, over the workflow's own of the same names.

maxLength: 32 items
pull string at-uri Optional

The dev.knotless.pull record whose head to run again.

ref string Optional

The full ref name to run again, such as refs/heads/main.

maxLength: 1024 bytes
workflow string Optional

The name of the one workflow to run at the ref, or of the pull's.

maxLength: 64 bytes
View raw schema
{
  "description": "Kept in the account of the repository's owner, keyed `<repo key>.<tid>`. A runner acts on the requests in the owner's account, newer than the last it acted on, and on no one else's; it runs the ref or the pull's head where it points when the runner reads it. Naming neither a ref nor a pull asks for nothing. With a ref and a workflow, it runs only that workflow there, its steps seeing env: one that runs on a push to the ref, or one whose trigger is to be asked for. With a pull and a workflow, it runs only that one of the pull's workflows, where the pull is.",
  "key": "any",
  "record": {
    "properties": {
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "env": {
        "description": "With workflow, variables its steps see, over the workflow's own of the same names.",
        "items": {
          "ref": "#var",
          "type": "ref"
        },
        "maxLength": 32,
        "type": "array"
      },
      "pull": {
        "description": "The dev.knotless.pull record whose head to run again.",
        "format": "at-uri",
        "type": "string"
      },
      "ref": {
        "description": "The full ref name to run again, such as refs/heads/main.",
        "maxLength": 1024,
        "type": "string"
      },
      "repo": {
        "description": "The repository, which is the owner's.",
        "ref": "dev.knotless.defs#repoRef",
        "type": "ref"
      },
      "workflow": {
        "description": "The name of the one workflow to run at the ref, or of the pull's.",
        "maxLength": 64,
        "type": "string"
      }
    },
    "required": [
      "repo",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}
var object

A variable a requested run's steps see.

Properties

name string Required

A shell variable's name, not the runner's own, which begin KNOTLESS_RUN.

maxLength: 64 bytes
value string Required

No description available.

maxLength: 4096 bytes
View raw schema
{
  "description": "A variable a requested run's steps see.",
  "properties": {
    "name": {
      "description": "A shell variable's name, not the runner's own, which begin KNOTLESS_RUN.",
      "maxLength": 64,
      "type": "string"
    },
    "value": {
      "maxLength": 4096,
      "type": "string"
    }
  },
  "required": [
    "name",
    "value"
  ],
  "type": "object"
}

Lexicon Garden

@