Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: DELETE /repos/:owner/:repo/actions/runs/:run_id/logs endpoint #49

Merged
merged 1 commit into from
Apr 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions scripts/update-endpoints/generated/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -12038,6 +12038,50 @@
"responses": [],
"renamed": null
},
{
"name": "Delete workflow run logs",
"scope": "actions",
"id": "deleteWorkflowRunLogs",
"method": "DELETE",
"url": "/repos/{owner}/{repo}/actions/runs/{run_id}/logs",
"documentationUrl": "https://developer.github.com/v3/actions/workflow_runs/#delete-workflow-run-logs",
"parameters": [
{
"alias": null,
"allowNull": false,
"deprecated": null,
"description": "owner parameter",
"enum": null,
"name": "owner",
"type": "string",
"required": true
},
{
"alias": null,
"allowNull": false,
"deprecated": null,
"description": "repo parameter",
"enum": null,
"name": "repo",
"type": "string",
"required": true
},
{
"alias": null,
"allowNull": false,
"deprecated": null,
"description": "run_id parameter",
"enum": null,
"name": "run_id",
"type": "integer",
"required": true
}
],
"previews": [],
"headers": [],
"responses": [],
"renamed": null
},
{
"name": "Re-run a workflow",
"scope": "actions",
Expand Down
30 changes: 30 additions & 0 deletions src/generated/Endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,14 @@ export interface Endpoints {
request: ActionsRemoveSelfHostedRunnerRequestOptions;
response: OctokitResponse<any>;
};
/**
* @see https://developer.github.com/v3/actions/workflow_runs/#delete-workflow-run-logs
*/
"DELETE /repos/:owner/:repo/actions/runs/:run_id/logs": {
parameters: ActionsDeleteWorkflowRunLogsEndpoint;
request: ActionsDeleteWorkflowRunLogsRequestOptions;
response: OctokitResponse<any>;
};
/**
* @see https://developer.github.com/v3/actions/secrets/#delete-a-secret-from-a-repository
*/
Expand Down Expand Up @@ -16507,6 +16515,28 @@ type ActionsListWorkflowRunLogsRequestOptions = {
request: RequestRequestOptions;
};

type ActionsDeleteWorkflowRunLogsEndpoint = {
/**
* owner parameter
*/
owner: string;
/**
* repo parameter
*/
repo: string;
/**
* run_id parameter
*/
run_id: number;
};

type ActionsDeleteWorkflowRunLogsRequestOptions = {
method: "DELETE";
url: "/repos/:owner/:repo/actions/runs/:run_id/logs";
headers: RequestHeaders;
request: RequestRequestOptions;
};

type ActionsReRunWorkflowEndpoint = {
/**
* owner parameter
Expand Down