dev.knotless.rerun

lexicons.knotless.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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": {
      "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"
    }
  },
  "description": "A repository owner's request that its runners run a ref's or a pull's workflows again.",
  "id": "dev.knotless.rerun",
  "lexicon": 1
}

Validate Record

Validate a record against dev.knotless.rerun

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:yqsg7znbbhfmj3a2nrpnaerk
CID
bafyreih6wor5bdcssmz6axq35rutvwffnyahjz66blhpsw33twlepdulzu
Indexed At
2026-10-28 21:21 UTC
AT-URI
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.rerun

Referenced Schemas (1)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Asks a repository's runners to run a ref's or a pull's workflows again, as the owner logged in to this appview's pages.

  • A repository's workflows at a ref, and what runs each there.

  • What a workflow did at a commit a ref pointed at, or at the head of a pull, as the runner that ran it reports.

  • What a repository's runners ran: every run of its workflows, and the workflows themselves.

Lexicon Garden

@