0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-07-21 05:54:38 +02:00
This commit is contained in:
Christopher Homberger 2025-05-03 14:24:00 +02:00
parent 1845ac7428
commit 0a5a6ebc9b
2 changed files with 38 additions and 2 deletions

View File

@ -582,6 +582,13 @@ func (Action) ListWorkflowJobs(ctx *context.APIContext) {
// description: name of the organization
// type: string
// required: true
// responses:
// "200":
// "$ref": "#/responses/WorkflowJobsList"
// "400":
// "$ref": "#/responses/error"
// "404":
// "$ref": "#/responses/notFound"
shared.ListJobs(ctx, ctx.Org.Organization.ID, 0, 0)
}
@ -597,6 +604,13 @@ func (Action) ListWorkflowRuns(ctx *context.APIContext) {
// description: name of the organization
// type: string
// required: true
// responses:
// "200":
// "$ref": "#/responses/WorkflowRunsList"
// "400":
// "$ref": "#/responses/error"
// "404":
// "$ref": "#/responses/notFound"
shared.ListRuns(ctx, ctx.Org.Organization.ID, 0)
}

View File

@ -1863,7 +1863,18 @@
"in": "path",
"required": true
}
]
],
"responses": {
"200": {
"$ref": "#/responses/WorkflowJobsList"
},
"400": {
"$ref": "#/responses/error"
},
"404": {
"$ref": "#/responses/notFound"
}
}
}
},
"/orgs/{org}/actions/runners": {
@ -2042,7 +2053,18 @@
"in": "path",
"required": true
}
]
],
"responses": {
"200": {
"$ref": "#/responses/WorkflowRunsList"
},
"400": {
"$ref": "#/responses/error"
},
"404": {
"$ref": "#/responses/notFound"
}
}
}
},
"/orgs/{org}/actions/secrets": {