full diff

dev.knotless.requestRerun

From
bafyreig6orqsbciw7hz7imzcfhwrhq25754apbg4mayhduub3p7onypsf4 indexed 2026-10-28 21:21 UTC View this version
To
bafyreidvkpmpiesuo6fc2kmmbtp5rev7eid3ah7fedw2eisxymxorcikqa indexed 2026-11-04 13:32 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "Writes a dev.knotless.rerun record, as `knotless rerun` does, in the account logged in to this appview's web pages, which must be the repository's owner: its runners run the ref, or the pull's head, again where it points when they read it. Name one ref or one pull. With workflow, only that one: of the pull's, or at the ref, one that runs on a push to it or whose trigger is to be asked for, its steps seeing env. Requires the session cookie the pages' login sets.",
5 "description": "Writes a dev.knotless.rerun record, as `knotless run rerun` does, in the account logged in to this appview's web pages, which must be the repository's owner: its runners run the ref, or the pull's head, again where it points when they read it. Name one ref or one pull. With workflow, only that one: of the pull's, or at the ref, one that runs on a push to it or whose trigger is to be asked for, its steps seeing env. Requires the session cookie the pages' login sets.",
66 "errors": [
77 {
88 "description": "No such repository.",
99 "name": "NotFound"
1010 },
1111 {
1212 "description": "No account is logged in to the pages, or its session has ended.",
1313 "name": "AuthenticationRequired"
1414 },
1515 {
1616 "description": "Nothing was asked, as the reason says: the account is not the owner, the repository names no runners, or what was named is not there.",
1717 "name": "UpstreamFailure"
1818 }
1919 ],
2020 "input": {
2121 "encoding": "application/json",
2222 "schema": {
2323 "properties": {
2424 "env": {
2525 "description": "With a ref and a workflow, variables its steps see, over the workflow's own of the same names.",
2626 "items": {
2727 "ref": "dev.knotless.rerun#var",
2828 "type": "ref"
2929 },
3030 "maxLength": 32,
3131 "type": "array"
3232 },
3333 "pull": {
3434 "description": "Or the dev.knotless.pull record whose head to run.",
3535 "format": "at-uri",
3636 "type": "string"
3737 },
3838 "ref": {
3939 "description": "The ref to run: a branch or a tag by name, or in full.",
4040 "maxLength": 1024,
4141 "type": "string"
4242 },
4343 "repo": {
4444 "description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
4545 "format": "at-uri",
4646 "type": "string"
4747 },
4848 "workflow": {
4949 "description": "The one workflow to run, by name.",
5050 "maxLength": 64,
5151 "type": "string"
5252 }
5353 },
5454 "required": [
5555 "repo"
5656 ],
5757 "type": "object"
5858 }
5959 },
6060 "output": {
6161 "encoding": "application/json",
6262 "schema": {
6363 "properties": {
6464 "uri": {
6565 "description": "The dev.knotless.rerun record written.",
6666 "format": "at-uri",
6767 "type": "string"
6868 }
6969 },
7070 "required": [
7171 "uri"
7272 ],
7373 "type": "object"
7474 }
7575 },
7676 "type": "procedure"
7777 }
7878 },
7979 "description": "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.",
8080 "id": "dev.knotless.requestRerun",
8181 "lexicon": 1
8282}

Compare other versions